Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -136,7 +136,8 @@ def get_run_step_details(run_steps):
|
|
136 |
if hasattr(step_details, "tool_calls"):
|
137 |
for tool_call in step_details.tool_calls:
|
138 |
show_json("tool_call", tool_call)
|
139 |
-
|
|
|
140 |
###
|
141 |
|
142 |
return run_step_details
|
|
|
136 |
if hasattr(step_details, "tool_calls"):
|
137 |
for tool_call in step_details.tool_calls:
|
138 |
show_json("tool_call", tool_call)
|
139 |
+
if hasattr(tool_call, "function"):
|
140 |
+
result = execute_tool_call(tool_call)
|
141 |
###
|
142 |
|
143 |
return run_step_details
|