bstraehle commited on
Commit
da10a00
1 Parent(s): bd01f4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -115,13 +115,13 @@ def get_run_step_details(run_steps):
115
  print(tool_call.code_interpreter)
116
  print("\n\n")
117
  if hasattr(tool_call.code_interpreter, "outputs"):
118
- print(tool_call.code_interpreter.outputs)
119
- # [CodeInterpreterOutputImage(image=CodeInterpreterOutputImageImage(file_id='file-qmr1d6ObICSjyGvmoncXvBPj'), type='image')]
120
- if len(outputs) > 0:
121
- print("\n\n")
122
- print(tool_call.code_interpreter.outputs[0].file_id)
123
- print(tool_call.code_interpreter.outputs[0].type)
124
- print("\n\n")
125
 
126
  def get_messages(client, thread):
127
  messages = client.beta.threads.messages.list(
 
115
  print(tool_call.code_interpreter)
116
  print("\n\n")
117
  if hasattr(tool_call.code_interpreter, "outputs"):
118
+ print(tool_call.code_interpreter.outputs)
119
+ # [CodeInterpreterOutputImage(image=CodeInterpreterOutputImageImage(file_id='file-qmr1d6ObICSjyGvmoncXvBPj'), type='image')]
120
+ if len(outputs) > 0:
121
+ print("\n\n")
122
+ print(tool_call.code_interpreter.outputs[0].file_id)
123
+ print(tool_call.code_interpreter.outputs[0].type)
124
+ print("\n\n")
125
 
126
  def get_messages(client, thread):
127
  messages = client.beta.threads.messages.list(