akiko19191 commited on
Commit
670a06b
·
verified ·
1 Parent(s): a6e3d15

Update utils/llms.py

Browse files
Files changed (1) hide show
  1. 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: