florentgbelidji HF Staff commited on
Commit
1427002
·
1 Parent(s): cf59526

Changed thinking streaming

Browse files
Files changed (1) hide show
  1. src/gradio_utils.py +1 -1
src/gradio_utils.py CHANGED
@@ -101,7 +101,7 @@ def pull_messages_from_step(step_log, test_mode: bool = True):
101
  content = first_tool_call.arguments
102
  if used_code:
103
  content = f"```py\n{content}\n```"
104
- yield str(content)
105
 
106
  if step_log.observations is not None:
107
  yield (step_log.observations, "")
 
101
  content = first_tool_call.arguments
102
  if used_code:
103
  content = f"```py\n{content}\n```"
104
+ yield (str(content), "")
105
 
106
  if step_log.observations is not None:
107
  yield (step_log.observations, "")