diff options
author | Kacper Kwapisz <kwapikapi@gmail.com> | 2023-11-14 12:39:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 12:39:38 +0100 |
commit | ef3fdfa892c982b8262661d909a2113ed6cbb6b8 (patch) | |
tree | b81474867453cab633ed992f32c10c05e7f584ec /g4f/api/__init__.py | |
parent | ~ (diff) | |
download | gpt4free-ef3fdfa892c982b8262661d909a2113ed6cbb6b8.tar gpt4free-ef3fdfa892c982b8262661d909a2113ed6cbb6b8.tar.gz gpt4free-ef3fdfa892c982b8262661d909a2113ed6cbb6b8.tar.bz2 gpt4free-ef3fdfa892c982b8262661d909a2113ed6cbb6b8.tar.lz gpt4free-ef3fdfa892c982b8262661d909a2113ed6cbb6b8.tar.xz gpt4free-ef3fdfa892c982b8262661d909a2113ed6cbb6b8.tar.zst gpt4free-ef3fdfa892c982b8262661d909a2113ed6cbb6b8.zip |
Diffstat (limited to 'g4f/api/__init__.py')
-rw-r--r-- | g4f/api/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/api/__init__.py b/g4f/api/__init__.py index 8eceb743..166395db 100644 --- a/g4f/api/__init__.py +++ b/g4f/api/__init__.py @@ -78,7 +78,7 @@ class Api: item_data['messages'] = ast.literal_eval(item_data.get('messages')) model = item_data.get('model') - stream = item_data.get('stream') + stream = True if item_data.get("stream") == "True" else False messages = item_data.get('messages') try: |