summaryrefslogtreecommitdiffstats
path: root/g4f/gui/server/backend.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-03-16 18:07:53 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-03-16 18:07:53 +0100
commit4778356064a005f0dec78a8fef40a26289217d7c (patch)
treed1835ab078e6a028c94b212d8f7530f1a78cc66f /g4f/gui/server/backend.py
parentAdd copilot conversation mode (diff)
downloadgpt4free-4778356064a005f0dec78a8fef40a26289217d7c.tar
gpt4free-4778356064a005f0dec78a8fef40a26289217d7c.tar.gz
gpt4free-4778356064a005f0dec78a8fef40a26289217d7c.tar.bz2
gpt4free-4778356064a005f0dec78a8fef40a26289217d7c.tar.lz
gpt4free-4778356064a005f0dec78a8fef40a26289217d7c.tar.xz
gpt4free-4778356064a005f0dec78a8fef40a26289217d7c.tar.zst
gpt4free-4778356064a005f0dec78a8fef40a26289217d7c.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 8d388708..fb8404d4 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),
+ self._create_response_stream(kwargs, json_data.get("conversation_id")),
mimetype='text/event-stream'
)