Spaces:
Running
Running
Update utils/llms.py
Browse files- utils/llms.py +1 -1
utils/llms.py
CHANGED
@@ -138,7 +138,7 @@ def chatstream(messages,model,api_keys,tools):
|
|
138 |
image_counter += 1
|
139 |
|
140 |
# also include the textual messages file (so Perplexity gets the full text payload as a file)
|
141 |
-
files['perplexity_messages.txt'] = raw_perplex_msg
|
142 |
|
143 |
# write the textual file to disk as before (optional, kept for compatibility/debugging)
|
144 |
with open("perplexity_messages.txt", "w", encoding='utf-8') as f:
|
|
|
138 |
image_counter += 1
|
139 |
|
140 |
# also include the textual messages file (so Perplexity gets the full text payload as a file)
|
141 |
+
# files['perplexity_messages.txt'] = raw_perplex_msg
|
142 |
|
143 |
# write the textual file to disk as before (optional, kept for compatibility/debugging)
|
144 |
with open("perplexity_messages.txt", "w", encoding='utf-8') as f:
|