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

Update utils/llms.py

Browse files
Files changed (1) hide show
  1. utils/llms.py +1 -1
utils/llms.py CHANGED
@@ -145,7 +145,7 @@ def chatstream(messages,model,api_keys,tools):
145
  f.write(raw_perplex_msg)
146
 
147
  # run the search, passing files (which may contain URL strings or raw bytes for data URIs)
148
- resp = perplexity_cli.search(raw_perplex_msg, mode='reasoning', model=model, sources=[], files=files, stream=True, language='en-US', follow_up=None, incognito=False)
149
 
150
  # stream the response, aggregate into cunk (init if needed)
151
  cunk = ""
 
145
  f.write(raw_perplex_msg)
146
 
147
  # run the search, passing files (which may contain URL strings or raw bytes for data URIs)
148
+ resp = perplexity_cli.search(raw_perplex_msg, mode='reasoning', model=model, sources=[], files={}, stream=True, language='en-US', follow_up=None, incognito=False)
149
 
150
  # stream the response, aggregate into cunk (init if needed)
151
  cunk = ""