diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-02-09 14:24:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-09 14:24:15 +0100 |
commit | 5c75972c50ac936cb6dc8e01cef9cdb08daa8ed7 (patch) | |
tree | 739dc1c020fcaff53d3f80630036b9aa2ac94f54 /g4f/models.py | |
parent | Merge pull request #1565 from hlohaus/gemini (diff) | |
download | gpt4free-5c75972c50ac936cb6dc8e01cef9cdb08daa8ed7.tar gpt4free-5c75972c50ac936cb6dc8e01cef9cdb08daa8ed7.tar.gz gpt4free-5c75972c50ac936cb6dc8e01cef9cdb08daa8ed7.tar.bz2 gpt4free-5c75972c50ac936cb6dc8e01cef9cdb08daa8ed7.tar.lz gpt4free-5c75972c50ac936cb6dc8e01cef9cdb08daa8ed7.tar.xz gpt4free-5c75972c50ac936cb6dc8e01cef9cdb08daa8ed7.tar.zst gpt4free-5c75972c50ac936cb6dc8e01cef9cdb08daa8ed7.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/models.py | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/g4f/models.py b/g4f/models.py index ed86024e..3b4ca468 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -15,15 +15,12 @@ from .Provider import ( DeepInfra, ChatBase, Liaobots, - GeekGpt, - FakeGpt, FreeGpt, Llama2, - Vercel, - Phind, + Vercel, + Gemini, GptGo, Gpt6, - Bard, Bing, You, Pi, @@ -53,7 +50,7 @@ default = Model( base_provider = "", best_provider = RetryProvider([ Bing, - ChatgptAi, GptGo, GeekGpt, + ChatgptAi, GptGo, You, Chatgpt4Online ]) @@ -65,7 +62,6 @@ gpt_35_long = Model( base_provider = 'openai', best_provider = RetryProvider([ FreeGpt, You, - GeekGpt, FakeGpt, Chatgpt4Online, ChatgptDemoAi, ChatgptNext, @@ -174,10 +170,10 @@ openchat_35 = Model( ) # Bard -bard = palm = Model( - name = 'palm', +gemini = bard = palm = Model( + name = 'gemini', base_provider = 'google', - best_provider = Bard + best_provider = Gemini ) claude_v2 = Model( @@ -271,8 +267,8 @@ class ModelUtils: 'airoboros-70b': airoboros_70b, 'airoboros-l2-70b': airoboros_l2_70b, 'openchat_3.5': openchat_35, + 'gemini': gemini, 'gemini-pro': gemini_pro, - 'bard': bard, 'claude-v2': claude_v2, 'pi': pi } |