summaryrefslogtreecommitdiffstats
path: root/g4f/gui/server/backend.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-03-28 11:36:25 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-03-28 11:36:25 +0100
commit03fd5ac99a828bd2637cf5be43a98157113527fb (patch)
tree0af06918fddf0b6f3881e91b4e237fd85b088e77 /g4f/gui/server/backend.py
parentFix attr conversation_id not found (diff)
downloadgpt4free-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 'g4f/gui/server/backend.py')
-rw-r--r--g4f/gui/server/backend.py2
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'
)