bstraehle commited on
Commit
62a2e78
1 Parent(s): bcd8d6f

Update assistants.py

Browse files
Files changed (1) hide show
  1. assistants.py +2 -1
assistants.py CHANGED
@@ -163,11 +163,12 @@ def execute_tool_calls(run_steps):
163
  str = get_json("step_details", step_details)
164
  print(str)
165
  gr.Info(get_json("step", step), duration=30)
166
- gr.Info(str, duration=30)
167
 
168
  if hasattr(step_details, "tool_calls"):
169
  for tool_call in step_details.tool_calls:
170
  print(get_json("tool_call", tool_call))
 
171
 
172
  if hasattr(tool_call, "function"):
173
  tool_call_ids.append(tool_call.id)
 
163
  str = get_json("step_details", step_details)
164
  print(str)
165
  gr.Info(get_json("step", step), duration=30)
166
+ #gr.Info(str, duration=30)
167
 
168
  if hasattr(step_details, "tool_calls"):
169
  for tool_call in step_details.tool_calls:
170
  print(get_json("tool_call", tool_call))
171
+ gr.Info(get_json("tool_call", tool_call), duration=30)
172
 
173
  if hasattr(tool_call, "function"):
174
  tool_call_ids.append(tool_call.id)