diff options
author | Commenter123321 <36051603+Commenter123321@users.noreply.github.com> | 2023-10-10 14:53:50 +0200 |
---|---|---|
committer | Commenter123321 <36051603+Commenter123321@users.noreply.github.com> | 2023-10-10 14:53:50 +0200 |
commit | 2c105cb5951792dae57a673381b17570801b3bfb (patch) | |
tree | 0bd5f05fffee5a69e554b5f485d8557c7dd54384 | |
parent | remove unused import in Bing.py (diff) | |
download | gpt4free-2c105cb5951792dae57a673381b17570801b3bfb.tar gpt4free-2c105cb5951792dae57a673381b17570801b3bfb.tar.gz gpt4free-2c105cb5951792dae57a673381b17570801b3bfb.tar.bz2 gpt4free-2c105cb5951792dae57a673381b17570801b3bfb.tar.lz gpt4free-2c105cb5951792dae57a673381b17570801b3bfb.tar.xz gpt4free-2c105cb5951792dae57a673381b17570801b3bfb.tar.zst gpt4free-2c105cb5951792dae57a673381b17570801b3bfb.zip |
-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 8f4b529f..cf1f9428 100644 --- a/g4f/gui/server/backend.py +++ b/g4f/gui/server/backend.py @@ -40,7 +40,7 @@ class Backend_Api: def stream(): if provider: answer = g4f.ChatCompletion.create(model=model, - provider=provider, messages=messages, stream=True) + provider=g4f.Provider.ProviderUtils.convert.get(provider), messages=messages, stream=True) else: answer = g4f.ChatCompletion.create(model=model, messages=messages, stream=True) |