Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -233,6 +233,13 @@ def chat(message, history):
|
|
233 |
tool_call_ids, tool_call_results = execute_tool_calls(run_steps)
|
234 |
|
235 |
### TODO
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
236 |
if tool_call_ids[0]:
|
237 |
# https://platform.openai.com/docs/api-reference/runs/submitToolOutputs
|
238 |
run = client.beta.threads.runs.submit_tool_outputs(
|
|
|
233 |
tool_call_ids, tool_call_results = execute_tool_calls(run_steps)
|
234 |
|
235 |
### TODO
|
236 |
+
print("###")
|
237 |
+
print(tool_call_ids)
|
238 |
+
print(tool_call_ids[0])
|
239 |
+
print(tool_call_results)
|
240 |
+
print(tool_call_results[0])
|
241 |
+
print("###")
|
242 |
+
|
243 |
if tool_call_ids[0]:
|
244 |
# https://platform.openai.com/docs/api-reference/runs/submitToolOutputs
|
245 |
run = client.beta.threads.runs.submit_tool_outputs(
|