diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-03-28 11:36:25 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-03-28 11:36:25 +0100 |
commit | 03fd5ac99a828bd2637cf5be43a98157113527fb (patch) | |
tree | 0af06918fddf0b6f3881e91b4e237fd85b088e77 /g4f/gui/server/backend.py | |
parent | Fix attr conversation_id not found (diff) | |
download | gpt4free-03fd5ac99a828bd2637cf5be43a98157113527fb.tar gpt4free-03fd5ac99a828bd2637cf5be43a98157113527fb.tar.gz gpt4free-03fd5ac99a828bd2637cf5be43a98157113527fb.tar.bz2 gpt4free-03fd5ac99a828bd2637cf5be43a98157113527fb.tar.lz gpt4free-03fd5ac99a828bd2637cf5be43a98157113527fb.tar.xz gpt4free-03fd5ac99a828bd2637cf5be43a98157113527fb.tar.zst gpt4free-03fd5ac99a828bd2637cf5be43a98157113527fb.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/gui/server/backend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/gui/server/backend.py b/g4f/gui/server/backend.py index fb8404d4..d30b97d9 100644 --- a/g4f/gui/server/backend.py +++ b/g4f/gui/server/backend.py @@ -85,7 +85,7 @@ class Backend_Api(Api): kwargs = self._prepare_conversation_kwargs(json_data, kwargs) return self.app.response_class( - self._create_response_stream(kwargs, json_data.get("conversation_id")), + self._create_response_stream(kwargs, json_data.get("conversation_id"), json_data.get("provider")), mimetype='text/event-stream' ) |