bstraehle commited on
Commit
cb9ef1e
1 Parent(s): 45b75a2

Update assistants.py

Browse files
Files changed (1) hide show
  1. assistants.py +2 -0
assistants.py CHANGED
@@ -192,6 +192,8 @@ def recurse_execute_tool_calls(thread, run, run_steps, iteration):
192
  "tool_call_id": tool_call_ids[iteration],
193
  "output": tool_call_results[iteration]
194
  }
 
 
195
 
196
  # https://platform.openai.com/docs/api-reference/runs/submitToolOutputs
197
  run = openai_client.beta.threads.runs.submit_tool_outputs(
 
192
  "tool_call_id": tool_call_ids[iteration],
193
  "output": tool_call_results[iteration]
194
  }
195
+
196
+ gr.Info(f"Tool output: {tool_output}")
197
 
198
  # https://platform.openai.com/docs/api-reference/runs/submitToolOutputs
199
  run = openai_client.beta.threads.runs.submit_tool_outputs(