Spaces:
Running
Running
Update utils/llms.py
Browse files- 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=
|
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 = ""
|