bstraehle commited on
Commit
85a181a
·
verified ·
1 Parent(s): 22a319b

Update agents.py

Browse files
Files changed (1) hide show
  1. agents.py +3 -3
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", "function_name": transfer_to_sales_agent_json},
37
- {"type": "function", "function_name": transfer_to_issues_repairs_agent_json},
38
- {"type": "function", "function_name": escalate_to_human_json}],
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):