Spaces:
Running
Running
Update agents.py
Browse files
agents.py
CHANGED
|
@@ -33,9 +33,9 @@ def create_triage_agent(client):
|
|
| 33 |
"But make your questions subtle and natural."
|
| 34 |
),
|
| 35 |
model=MODEL,
|
| 36 |
-
tools=[{"type": "function", "
|
| 37 |
-
{"type": "function", "
|
| 38 |
-
{"type": "function", "
|
| 39 |
)
|
| 40 |
|
| 41 |
def create_sales_agent(client):
|
|
|
|
| 33 |
"But make your questions subtle and natural."
|
| 34 |
),
|
| 35 |
model=MODEL,
|
| 36 |
+
tools=[{"type": "function", "function": transfer_to_sales_agent_json},
|
| 37 |
+
{"type": "function", "function": transfer_to_issues_repairs_agent_json},
|
| 38 |
+
{"type": "function", "function": escalate_to_human_json}],
|
| 39 |
)
|
| 40 |
|
| 41 |
def create_sales_agent(client):
|