diff options
author | kqlio67 <kqlio67@users.noreply.github.com> | 2024-09-26 23:24:44 +0200 |
---|---|---|
committer | kqlio67 <kqlio67@users.noreply.github.com> | 2024-09-26 23:24:44 +0200 |
commit | cfe5acc15221806e9bc1155ef5d5f9e760f195a7 (patch) | |
tree | 6f79507646dd5d9afb8ea8f620ebbce7fca34059 /g4f/models.py | |
parent | feat(g4f/Provider/AIChatFree.py): add AIChatFree provider (diff) | |
download | gpt4free-cfe5acc15221806e9bc1155ef5d5f9e760f195a7.tar gpt4free-cfe5acc15221806e9bc1155ef5d5f9e760f195a7.tar.gz gpt4free-cfe5acc15221806e9bc1155ef5d5f9e760f195a7.tar.bz2 gpt4free-cfe5acc15221806e9bc1155ef5d5f9e760f195a7.tar.lz gpt4free-cfe5acc15221806e9bc1155ef5d5f9e760f195a7.tar.xz gpt4free-cfe5acc15221806e9bc1155ef5d5f9e760f195a7.tar.zst gpt4free-cfe5acc15221806e9bc1155ef5d5f9e760f195a7.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/models.py | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/g4f/models.py b/g4f/models.py index 4d461ada..bac83b5b 100644 --- a/g4f/models.py +++ b/g4f/models.py @@ -4,6 +4,7 @@ from dataclasses import dataclass from .Provider import IterListProvider, ProviderType from .Provider import ( + AIChatFree, Airforce, Allyfy, Bing, @@ -146,22 +147,6 @@ gpt_4 = Model( ]) ) -# o1 -o1 = Model( - name = 'o1', - base_provider = 'OpenAI', - best_provider = IterListProvider([ - Liaobots - ]) -) - -o1_mini = Model( - name = 'o1-mini', - base_provider = 'OpenAI', - best_provider = IterListProvider([ - Liaobots - ]) -) ### GigaChat ### gigachat = Model( @@ -288,7 +273,7 @@ phi_3_5_mini = Model( gemini_pro = Model( name = 'gemini-pro', base_provider = 'Google DeepMind', - best_provider = IterListProvider([GeminiPro, LiteIcoding, Blackbox, Liaobots, Airforce]) + best_provider = IterListProvider([GeminiPro, LiteIcoding, Blackbox, AIChatFree, Liaobots, Airforce]) ) gemini_flash = Model( @@ -784,11 +769,7 @@ class ModelUtils: 'gpt-4o-mini': gpt_4o_mini, 'gpt-4': gpt_4, 'gpt-4-turbo': gpt_4_turbo, - -# o1 -'o1': o1, -'o1-mini': o1_mini, - + ### Meta ### "meta-ai": meta, |