bstraehle commited on
Commit
2106abd
1 Parent(s): f58b8d1

Update assistants.py

Browse files
Files changed (1) hide show
  1. assistants.py +1 -1
assistants.py CHANGED
@@ -162,7 +162,7 @@ def execute_tool_calls(run_steps):
162
  step_details = step.step_details
163
  str = get_json("step_details", step_details)
164
  print(str)
165
- gr.Info(step.usage, duration=30)
166
  #gr.Info(str, duration=30)
167
 
168
  if hasattr(step_details, "tool_calls"):
 
162
  step_details = step.step_details
163
  str = get_json("step_details", step_details)
164
  print(str)
165
+ gr.Info(get_json("usage", step.usage), duration=30)
166
  #gr.Info(str, duration=30)
167
 
168
  if hasattr(step_details, "tool_calls"):