bstraehle commited on
Commit
4357d11
1 Parent(s): 3a2f7e5

Update assistants.py

Browse files
Files changed (1) hide show
  1. assistants.py +1 -1
assistants.py CHANGED
@@ -136,7 +136,6 @@ def get_run_steps(thread, run):
136
  order="asc",
137
  )
138
 
139
- raise gr.Info(show_json("run_steps", run_steps))
140
  show_json("run_steps", run_steps)
141
  return run_steps
142
 
@@ -172,6 +171,7 @@ def execute_tool_calls(run_steps):
172
  if hasattr(tool_call, "function"):
173
  tool_call_ids.append(tool_call.id)
174
  tool_call_results.append(execute_tool_call(tool_call))
 
175
 
176
  return tool_call_ids, tool_call_results
177
 
 
136
  order="asc",
137
  )
138
 
 
139
  show_json("run_steps", run_steps)
140
  return run_steps
141
 
 
171
  if hasattr(tool_call, "function"):
172
  tool_call_ids.append(tool_call.id)
173
  tool_call_results.append(execute_tool_call(tool_call))
174
+ raise gr.Info("tool call")
175
 
176
  return tool_call_ids, tool_call_results
177