diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-03-16 18:07:53 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-03-16 18:07:53 +0100 |
commit | 4778356064a005f0dec78a8fef40a26289217d7c (patch) | |
tree | d1835ab078e6a028c94b212d8f7530f1a78cc66f /g4f/gui/server/backend.py | |
parent | Add copilot conversation mode (diff) | |
download | gpt4free-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.py | 2 |
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' ) |