summaryrefslogtreecommitdiffstats
path: root/g4f/client/async_client.py
diff options
context:
space:
mode:
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,