Spaces:
Sleeping
Sleeping
test logs
Browse files- Gradio_UI.py +1 -0
Gradio_UI.py
CHANGED
@@ -50,6 +50,7 @@ def pull_messages_from_step(
|
|
50 |
# For tool calls, create a parent message
|
51 |
if hasattr(step_log, "tool_calls") and step_log.tool_calls is not None:
|
52 |
first_tool_call = step_log.tool_calls[0]
|
|
|
53 |
used_code = first_tool_call.name == "python_interpreter"
|
54 |
parent_id = f"call_{len(step_log.tool_calls)}"
|
55 |
|
|
|
50 |
# For tool calls, create a parent message
|
51 |
if hasattr(step_log, "tool_calls") and step_log.tool_calls is not None:
|
52 |
first_tool_call = step_log.tool_calls[0]
|
53 |
+
print(first_tool_call, first_tool_call.arguments)
|
54 |
used_code = first_tool_call.name == "python_interpreter"
|
55 |
parent_id = f"call_{len(step_log.tool_calls)}"
|
56 |
|