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=[{
|
37 |
-
{
|
38 |
-
{
|
39 |
)
|
40 |
|
41 |
def create_sales_agent(client):
|
@@ -54,8 +54,8 @@ def create_sales_agent(client):
|
|
54 |
""
|
55 |
),
|
56 |
model=MODEL,
|
57 |
-
tools=[{
|
58 |
-
{
|
59 |
)
|
60 |
|
61 |
def create_issues_repairs_agent(client):
|
@@ -73,7 +73,7 @@ def create_issues_repairs_agent(client):
|
|
73 |
""
|
74 |
),
|
75 |
model=MODEL,
|
76 |
-
tools=[{
|
77 |
-
{
|
78 |
-
{
|
79 |
)
|
|
|
33 |
"But make your questions subtle and natural."
|
34 |
),
|
35 |
model=MODEL,
|
36 |
+
tools=[{transfer_to_sales_agent_json},
|
37 |
+
{transfer_to_issues_repairs_agent_json},
|
38 |
+
{escalate_to_human_json}],
|
39 |
)
|
40 |
|
41 |
def create_sales_agent(client):
|
|
|
54 |
""
|
55 |
),
|
56 |
model=MODEL,
|
57 |
+
tools=[{execute_order_json},
|
58 |
+
{transfer_to_triage_agent_json}],
|
59 |
)
|
60 |
|
61 |
def create_issues_repairs_agent(client):
|
|
|
73 |
""
|
74 |
),
|
75 |
model=MODEL,
|
76 |
+
tools=[{look_up_item_json},
|
77 |
+
{execute_refund_json},
|
78 |
+
{transfer_to_triage_agent_json}],
|
79 |
)
|