summaryrefslogtreecommitdiffstats
path: root/g4f/models.py
diff options
context:
space:
mode:
authorkqlio67 <kqlio67@users.noreply.github.com>2024-09-06 20:14:35 +0200
committerkqlio67 <kqlio67@users.noreply.github.com>2024-09-06 20:14:35 +0200
commit9c1b0a315274748a685e666b34ec36c1283f064b (patch)
tree090cc8c50ee34390c1365d4de845455de21ce7b6 /g4f/models.py
parentUpdated g4f/Provider/CodeNews.py (diff)
downloadgpt4free-9c1b0a315274748a685e666b34ec36c1283f064b.tar
gpt4free-9c1b0a315274748a685e666b34ec36c1283f064b.tar.gz
gpt4free-9c1b0a315274748a685e666b34ec36c1283f064b.tar.bz2
gpt4free-9c1b0a315274748a685e666b34ec36c1283f064b.tar.lz
gpt4free-9c1b0a315274748a685e666b34ec36c1283f064b.tar.xz
gpt4free-9c1b0a315274748a685e666b34ec36c1283f064b.tar.zst
gpt4free-9c1b0a315274748a685e666b34ec36c1283f064b.zip
Diffstat (limited to '')
-rw-r--r--g4f/models.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/g4f/models.py b/g4f/models.py
index 4e91bb55..fe9dee78 100644
--- a/g4f/models.py
+++ b/g4f/models.py
@@ -343,22 +343,22 @@ qwen_turbo = Model(
### Zhipu AI ###
-glm3_6b = Model(
- name = 'glm3-6b',
+glm_3_6b = Model(
+ name = 'glm-3-6b',
base_provider = 'Zhipu AI',
best_provider = IterListProvider([FreeChatgpt])
)
-glm4_9b = Model(
- name = 'glm4-9B',
+glm_4_9b = Model(
+ name = 'glm-4-9B',
base_provider = 'Zhipu AI',
best_provider = IterListProvider([FreeChatgpt])
)
-glm4 = Model(
- name = 'glm4',
+glm_4 = Model(
+ name = 'glm-4',
base_provider = 'Zhipu AI',
- best_provider = IterListProvider([CodeNews, glm4_9b.best_provider,])
+ best_provider = IterListProvider([CodeNews, glm_4_9b.best_provider,])
)
### 01-ai ###
@@ -609,9 +609,9 @@ class ModelUtils:
### Zhipu AI ###
-'glm3-6b': glm3_6b,
-'glm4-9b': glm4_9b,
-'glm4': glm4,
+'glm-3-6b': glm_3_6b,
+'glm-4-9b': glm_4_9b,
+'glm-4': glm_4,
### 01-ai ###