Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -116,11 +116,10 @@ def get_messages(client, thread):
|
|
116 |
return messages
|
117 |
|
118 |
#XXXXX
|
119 |
-
def extract_file_ids(
|
120 |
file_ids = []
|
121 |
-
steps = data.get('data', [])
|
122 |
|
123 |
-
for step in
|
124 |
step_details = step.get('step_details', {})
|
125 |
tool_calls = step_details.get('tool_calls', [])
|
126 |
|
|
|
116 |
return messages
|
117 |
|
118 |
#XXXXX
|
119 |
+
def extract_file_ids(step_details):
|
120 |
file_ids = []
|
|
|
121 |
|
122 |
+
for step in step_details:
|
123 |
step_details = step.get('step_details', {})
|
124 |
tool_calls = step_details.get('tool_calls', [])
|
125 |
|