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

Changed thinking streaming

Browse files
Files changed (1) hide show
  1. src/gradio_utils.py +1 -1
src/gradio_utils.py CHANGED
@@ -106,7 +106,7 @@ def pull_messages_from_step(step_log, test_mode: bool = True):
106
  if step_log.observations is not None:
107
  yield (step_log.observations, "")
108
  if step_log.error is not None:
109
- yield ("", step_log.error)
110
 
111
 
112
  # Simplified interaction function
 
106
  if step_log.observations is not None:
107
  yield (step_log.observations, "")
108
  if step_log.error is not None:
109
+ yield ("", str(step_log.error))
110
 
111
 
112
  # Simplified interaction function