bstraehle commited on
Commit
f4634ef
1 Parent(s): 72a8028

Update assistants.py

Browse files
Files changed (1) hide show
  1. assistants.py +2 -4
assistants.py CHANGED
@@ -100,9 +100,7 @@ def create_message(thread, msg):
100
  content=msg,
101
  )
102
 
103
- str = get_json("message", message)
104
- print(str)
105
- gr.Info(str, duration=15)
106
  return message
107
 
108
  def create_run(assistant, thread):
@@ -164,7 +162,7 @@ def execute_tool_calls(run_steps):
164
  step_details = step.step_details
165
  str = get_json("step_details", step_details)
166
  print(str)
167
- #gr.Info(str, duration=15)
168
 
169
  if hasattr(step_details, "tool_calls"):
170
  for tool_call in step_details.tool_calls:
 
100
  content=msg,
101
  )
102
 
103
+ print(get_json("message", message))
 
 
104
  return message
105
 
106
  def create_run(assistant, thread):
 
162
  step_details = step.step_details
163
  str = get_json("step_details", step_details)
164
  print(str)
165
+ gr.Info(str, duration=30)
166
 
167
  if hasattr(step_details, "tool_calls"):
168
  for tool_call in step_details.tool_calls: