Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -130,6 +130,8 @@ def execute_tool_call(tool_call):
|
|
| 130 |
|
| 131 |
def get_run_step_details(run_steps):
|
| 132 |
run_step_details = []
|
|
|
|
|
|
|
| 133 |
|
| 134 |
for step in run_steps.data:
|
| 135 |
step_details = step.step_details
|
|
@@ -145,7 +147,7 @@ def get_run_step_details(run_steps):
|
|
| 145 |
print(result)
|
| 146 |
###
|
| 147 |
|
| 148 |
-
return
|
| 149 |
|
| 150 |
def get_messages(client, thread):
|
| 151 |
messages = client.beta.threads.messages.list(
|
|
|
|
| 130 |
|
| 131 |
def get_run_step_details(run_steps):
|
| 132 |
run_step_details = []
|
| 133 |
+
|
| 134 |
+
result = ""
|
| 135 |
|
| 136 |
for step in run_steps.data:
|
| 137 |
step_details = step.step_details
|
|
|
|
| 147 |
print(result)
|
| 148 |
###
|
| 149 |
|
| 150 |
+
return result
|
| 151 |
|
| 152 |
def get_messages(client, thread):
|
| 153 |
messages = client.beta.threads.messages.list(
|