Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
import openai, os, time
|
3 |
|
4 |
from openai import OpenAI
|
5 |
from utils import function_to_schema, show_json
|
@@ -179,6 +179,9 @@ def list_run_steps(client, thread, run):
|
|
179 |
step_details = step.step_details
|
180 |
show_json("step_details", step_details)
|
181 |
|
|
|
|
|
|
|
182 |
#if not step_details.tool_calls:
|
183 |
# break
|
184 |
|
|
|
1 |
import gradio as gr
|
2 |
+
import json, openai, os, time
|
3 |
|
4 |
from openai import OpenAI
|
5 |
from utils import function_to_schema, show_json
|
|
|
179 |
step_details = step.step_details
|
180 |
show_json("step_details", step_details)
|
181 |
|
182 |
+
print(step_details)
|
183 |
+
print(step_details.message_creation)
|
184 |
+
|
185 |
#if not step_details.tool_calls:
|
186 |
# break
|
187 |
|