Spaces:
Running
Running
Update app.py
Browse files
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 |
|