Spaces:
Running
Running
Update agents.py
Browse files
agents.py
CHANGED
@@ -14,9 +14,9 @@ def create_triage_agent(client):
|
|
14 |
"But make your questions subtle and natural."
|
15 |
),
|
16 |
model=MODEL,
|
17 |
-
tools=[{"type": "transfer_to_sales_agent
|
18 |
-
{"type": "transfer_to_issues_repairs_agent
|
19 |
-
{"type": "escalate_to_human
|
20 |
)
|
21 |
|
22 |
def create_sales_agent(client):
|
|
|
14 |
"But make your questions subtle and natural."
|
15 |
),
|
16 |
model=MODEL,
|
17 |
+
tools=[{"type": "function", "function": transfer_to_sales_agent},
|
18 |
+
{"type": "function", "function": transfer_to_issues_repairs_agent},
|
19 |
+
{"type": "function", "function": escalate_to_human}],
|
20 |
)
|
21 |
|
22 |
def create_sales_agent(client):
|