bstraehle commited on
Commit
a6cd6ef
·
verified ·
1 Parent(s): 923cc49

Update assistants.py

Browse files
Files changed (1) hide show
  1. assistants.py +1 -1
assistants.py CHANGED
@@ -163,7 +163,7 @@ def execute_tool_calls(run_steps):
163
  print(get_json("step_details", step_details))
164
 
165
  if step.usage:
166
- gr.Info(f"Step: {get_json('step_details', step_details.type)} {get_json('usage', step.usage)}", duration=30)
167
 
168
  if hasattr(step_details, "tool_calls"):
169
  for tool_call in step_details.tool_calls:
 
163
  print(get_json("step_details", step_details))
164
 
165
  if step.usage:
166
+ gr.Info(f"Step: {step_details.type} {get_json('usage', step.usage)}", duration=30)
167
 
168
  if hasattr(step_details, "tool_calls"):
169
  for tool_call in step_details.tool_calls: