Liphos commited on
Commit
8b66fda
·
verified ·
1 Parent(s): bbdc457
Files changed (1) hide show
  1. 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