Spaces:
Running
Running
Update assistants.py
Browse files- assistants.py +1 -0
assistants.py
CHANGED
@@ -162,6 +162,7 @@ def extract_content_values(data):
|
|
162 |
|
163 |
for item in data.data:
|
164 |
for content in item.content:
|
|
|
165 |
if content.type == "text":
|
166 |
text_value = content.text.value
|
167 |
text_values.append(text_value)
|
|
|
162 |
|
163 |
for item in data.data:
|
164 |
for content in item.content:
|
165 |
+
# TODO: Handle other file types
|
166 |
if content.type == "text":
|
167 |
text_value = content.text.value
|
168 |
text_values.append(text_value)
|