diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-04-07 19:59:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-07 19:59:28 +0200 |
commit | e724079d0fea382e89fedcf1c7cdb55b24cb56e3 (patch) | |
tree | b9190a5df25ba2ed303ce92c6a8ff885db6b882b /g4f/client/async_client.py | |
parent | Update You.py (diff) | |
parent | Add nodriver to OpenaiChat (diff) | |
download | gpt4free-e724079d0fea382e89fedcf1c7cdb55b24cb56e3.tar gpt4free-e724079d0fea382e89fedcf1c7cdb55b24cb56e3.tar.gz gpt4free-e724079d0fea382e89fedcf1c7cdb55b24cb56e3.tar.bz2 gpt4free-e724079d0fea382e89fedcf1c7cdb55b24cb56e3.tar.lz gpt4free-e724079d0fea382e89fedcf1c7cdb55b24cb56e3.tar.xz gpt4free-e724079d0fea382e89fedcf1c7cdb55b24cb56e3.tar.zst gpt4free-e724079d0fea382e89fedcf1c7cdb55b24cb56e3.zip |
Diffstat (limited to 'g4f/client/async_client.py')
-rw-r--r-- | g4f/client/async_client.py | 3 |
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, |