summaryrefslogtreecommitdiffstats
path: root/g4f/client/async_client.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-07 16:02:49 +0200
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-04-07 16:02:49 +0200
commitbdc61ca273dde2771c5bc8f93705652842f78d15 (patch)
tree9074b23a7b1beac359206910e30e205908513a1d /g4f/client/async_client.py
parentAdd local models to gui, Fix You Provider, add AsyncClient (diff)
downloadgpt4free-bdc61ca273dde2771c5bc8f93705652842f78d15.tar
gpt4free-bdc61ca273dde2771c5bc8f93705652842f78d15.tar.gz
gpt4free-bdc61ca273dde2771c5bc8f93705652842f78d15.tar.bz2
gpt4free-bdc61ca273dde2771c5bc8f93705652842f78d15.tar.lz
gpt4free-bdc61ca273dde2771c5bc8f93705652842f78d15.tar.xz
gpt4free-bdc61ca273dde2771c5bc8f93705652842f78d15.tar.zst
gpt4free-bdc61ca273dde2771c5bc8f93705652842f78d15.zip
Diffstat (limited to 'g4f/client/async_client.py')
-rw-r--r--g4f/client/async_client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/client/async_client.py b/g4f/client/async_client.py
index 25de1c76..bab2fde9 100644
--- a/g4f/client/async_client.py
+++ b/g4f/client/async_client.py
@@ -87,7 +87,8 @@ def create_response(
else:
create = provider.create_completion
response = create(
- model, messages, stream,
+ model, messages,
+ stream=stream,
**filter_none(
proxy=proxy,
max_tokens=max_tokens,