summaryrefslogtreecommitdiffstats
path: root/g4f/models.py
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-13 16:18:31 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-13 16:18:31 +0100
commitc190d0eae4c1fcc023035778e357e247d3b05259 (patch)
treee44d3bb05611a6e3fd86bd187636e845b6e8a331 /g4f/models.py
parentAdded support for more models: FreeChatgpt (#1456) (diff)
downloadgpt4free-c190d0eae4c1fcc023035778e357e247d3b05259.tar
gpt4free-c190d0eae4c1fcc023035778e357e247d3b05259.tar.gz
gpt4free-c190d0eae4c1fcc023035778e357e247d3b05259.tar.bz2
gpt4free-c190d0eae4c1fcc023035778e357e247d3b05259.tar.lz
gpt4free-c190d0eae4c1fcc023035778e357e247d3b05259.tar.xz
gpt4free-c190d0eae4c1fcc023035778e357e247d3b05259.tar.zst
gpt4free-c190d0eae4c1fcc023035778e357e247d3b05259.zip
Diffstat (limited to 'g4f/models.py')
-rw-r--r--g4f/models.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/g4f/models.py b/g4f/models.py
index 90d9f444..03deebf8 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -4,6 +4,7 @@ from .Provider import RetryProvider, ProviderType
from .Provider import (
Chatgpt4Online,
ChatgptDemoAi,
+ GeminiProChat,
ChatgptNext,
HuggingChat,
ChatgptDemo,
@@ -61,7 +62,6 @@ gpt_35_long = Model(
ChatgptNext,
ChatgptDemo,
Gpt6,
- FreeChatgpt,
])
)
@@ -70,7 +70,6 @@ gpt_35_turbo = Model(
name = 'gpt-3.5-turbo',
base_provider = 'openai',
best_provider=RetryProvider([
- FreeChatgpt,
GptGo, You,
GptForLove, ChatBase,
Chatgpt4Online,
@@ -81,7 +80,7 @@ gpt_4 = Model(
name = 'gpt-4',
base_provider = 'openai',
best_provider = RetryProvider([
- Bing, FreeChatgpt, Phind, Liaobots,
+ Bing, Phind, Liaobots,
])
)
@@ -159,12 +158,12 @@ claude_instant_v1 = Model(
claude_v1 = Model(
name = 'claude-v1',
base_provider = 'anthropic',
- best_provider = RetryProvider([FreeChatgpt,Vercel]))
+ best_provider = Vercel)
claude_v2 = Model(
name = 'claude-v2',
base_provider = 'anthropic',
- best_provider = RetryProvider([FreeChatgpt,Vercel]))
+ best_provider = RetryProvider([FreeChatgpt, Vercel]))
command_light_nightly = Model(
name = 'command-light-nightly',
@@ -246,11 +245,10 @@ gpt_4_32k_0613 = Model(
best_provider = gpt_4.best_provider
)
-#Gemini
gemini_pro = Model(
name = 'gemini-pro',
base_provider = 'google',
- best_provider = FreeChatgpt
+ best_provider = RetryProvider([FreeChatgpt, GeminiProChat])
)
text_ada_001 = Model(