fciannella commited on
Commit
b246683
·
1 Parent(s): 1e9838c

hard coding the agents

Browse files
examples/voice_agent_webrtc_langgraph/pipeline.py CHANGED
@@ -85,6 +85,12 @@ async def list_assistants(request: Request):
85
 
86
  Output: List of {assistant_id, graph_id?, name?, description?, display_name}.
87
  """
 
 
 
 
 
 
88
  import requests
89
 
90
  base_url = os.getenv("LANGGRAPH_BASE_URL", "http://127.0.0.1:2024").rstrip("/")
 
85
 
86
  Output: List of {assistant_id, graph_id?, name?, description?, display_name}.
87
  """
88
+ # Hard-coded assistants list
89
+ return [
90
+ {"assistant_id": "rbc-fees-agent", "graph_id": "rbc-fees-agent", "display_name": "RBC Fees Agent"},
91
+ {"assistant_id": "wire-transfer-agent", "graph_id": "wire-transfer-agent", "display_name": "Wire Transfer Agent"},
92
+ {"assistant_id": "telco-agent", "graph_id": "telco-agent", "display_name": "Telco Agent"},
93
+ ]
94
  import requests
95
 
96
  base_url = os.getenv("LANGGRAPH_BASE_URL", "http://127.0.0.1:2024").rstrip("/")