summaryrefslogtreecommitdiffstats
path: root/g4f/gui/server
diff options
context:
space:
mode:
authorhdsz25 <hdsz25@hotmail.com>2023-10-28 17:58:36 +0200
committerGitHub <noreply@github.com>2023-10-28 17:58:36 +0200
commitb8a3db526ce25932658131fcb96a3576f43672b1 (patch)
treea13de9a42c0bf890662f5ef81c28eecd86b39cb3 /g4f/gui/server
parentMerge pull request #1175 from Biflez48/main (diff)
downloadgpt4free-b8a3db526ce25932658131fcb96a3576f43672b1.tar
gpt4free-b8a3db526ce25932658131fcb96a3576f43672b1.tar.gz
gpt4free-b8a3db526ce25932658131fcb96a3576f43672b1.tar.bz2
gpt4free-b8a3db526ce25932658131fcb96a3576f43672b1.tar.lz
gpt4free-b8a3db526ce25932658131fcb96a3576f43672b1.tar.xz
gpt4free-b8a3db526ce25932658131fcb96a3576f43672b1.tar.zst
gpt4free-b8a3db526ce25932658131fcb96a3576f43672b1.zip
Diffstat (limited to 'g4f/gui/server')
-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 304b9fc8..3d7bfedc 100644
--- a/g4f/gui/server/backend.py
+++ b/g4f/gui/server/backend.py
@@ -56,7 +56,7 @@ class Backend_Api:
def stream():
yield from g4f.ChatCompletion.create(
- model=g4f.models.gpt_35_long,
+ model=model,
provider=get_provider(provider),
messages=messages,
stream=True,