diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-03-19 18:59:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 18:59:42 +0100 |
commit | 79bc56f36e02a3ccb82c92af58363836ab2affb2 (patch) | |
tree | 60b32a4cae7f2921ddbb4e77560ac761164989ca /g4f/Provider/needs_auth/OpenaiChat.py | |
parent | ~ | include /local/models dir on pip (diff) | |
parent | Fix Bing key error (diff) | |
download | gpt4free-79bc56f36e02a3ccb82c92af58363836ab2affb2.tar gpt4free-79bc56f36e02a3ccb82c92af58363836ab2affb2.tar.gz gpt4free-79bc56f36e02a3ccb82c92af58363836ab2affb2.tar.bz2 gpt4free-79bc56f36e02a3ccb82c92af58363836ab2affb2.tar.lz gpt4free-79bc56f36e02a3ccb82c92af58363836ab2affb2.tar.xz gpt4free-79bc56f36e02a3ccb82c92af58363836ab2affb2.tar.zst gpt4free-79bc56f36e02a3ccb82c92af58363836ab2affb2.zip |
Diffstat (limited to 'g4f/Provider/needs_auth/OpenaiChat.py')
-rw-r--r-- | g4f/Provider/needs_auth/OpenaiChat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/Provider/needs_auth/OpenaiChat.py b/g4f/Provider/needs_auth/OpenaiChat.py index 6601f500..8a5a03d4 100644 --- a/g4f/Provider/needs_auth/OpenaiChat.py +++ b/g4f/Provider/needs_auth/OpenaiChat.py @@ -450,7 +450,7 @@ class OpenaiChat(AsyncGeneratorProvider, ProviderModelMixin): ) as response: cls._update_request_args(session) await raise_for_status(response) - async for chunk in cls.iter_messages_chunk(response.iter_lines(), session, fields, websocket_request_id): + async for chunk in cls.iter_messages_chunk(response.iter_lines(), session, fields): if response_fields: response_fields = False yield fields |