bstraehle commited on
Commit
7c5ed43
·
verified ·
1 Parent(s): 7bf3f3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -163,7 +163,7 @@ def extract_content_values(data):
163
 
164
  return text_values, image_values
165
 
166
- def execute_tool_calls_recursive(client, thread, run_steps):
167
  tool_call_id, tool_call_result = execute_tool_calls(run_steps)
168
 
169
  if tool_call_result:
@@ -229,7 +229,7 @@ def chat(message, history):
229
  ###
230
  """
231
 
232
- execute_tool_calls_recursive(client, thread, run_steps)
233
 
234
  messages = get_messages(client, thread)
235
 
 
163
 
164
  return text_values, image_values
165
 
166
+ def execute_tool_calls_recursive(client, thread, run, run_steps):
167
  tool_call_id, tool_call_result = execute_tool_calls(run_steps)
168
 
169
  if tool_call_result:
 
229
  ###
230
  """
231
 
232
+ execute_tool_calls_recursive(client, thread, run, run_steps)
233
 
234
  messages = get_messages(client, thread)
235