Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -163,12 +163,12 @@ def execute_tool_call(tools, tool_call):
|
|
163 |
name = tool_call.function.name
|
164 |
args = json.loads(tool_call.function.arguments)
|
165 |
|
|
|
|
|
166 |
print("XXXXX")
|
167 |
print(tools)
|
168 |
print("XXXXX")
|
169 |
-
|
170 |
-
print(f"{name}, {args}")
|
171 |
-
|
172 |
#return tools[name](**args)
|
173 |
|
174 |
def list_run_steps(client, thread, run):
|
@@ -269,7 +269,7 @@ def chat(message, history, openai_api_key):
|
|
269 |
|
270 |
gr.ChatInterface(
|
271 |
chat,
|
272 |
-
chatbot=gr.Chatbot(
|
273 |
textbox=gr.Textbox(placeholder="Question", container=False, scale=7),
|
274 |
title="Multi-Agent Orchestration",
|
275 |
description="Demo using hand-off pattern: triage agent, sales agent, and issues & repairs agent",
|
|
|
163 |
name = tool_call.function.name
|
164 |
args = json.loads(tool_call.function.arguments)
|
165 |
|
166 |
+
print(f"{name}, {args}")
|
167 |
+
|
168 |
print("XXXXX")
|
169 |
print(tools)
|
170 |
print("XXXXX")
|
171 |
+
|
|
|
|
|
172 |
#return tools[name](**args)
|
173 |
|
174 |
def list_run_steps(client, thread, run):
|
|
|
269 |
|
270 |
gr.ChatInterface(
|
271 |
chat,
|
272 |
+
chatbot=gr.Chatbot(),
|
273 |
textbox=gr.Textbox(placeholder="Question", container=False, scale=7),
|
274 |
title="Multi-Agent Orchestration",
|
275 |
description="Demo using hand-off pattern: triage agent, sales agent, and issues & repairs agent",
|