summaryrefslogtreecommitdiffstats
path: root/g4f/Provider
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/Provider
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/Provider/CodeNews.py2
-rw-r--r--g4f/Provider/FreeChatgpt.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/g4f/Provider/CodeNews.py b/g4f/Provider/CodeNews.py
index a7eb0bb1..05ec7a45 100644
--- a/g4f/Provider/CodeNews.py
+++ b/g4f/Provider/CodeNews.py
@@ -22,7 +22,7 @@ class CodeNews(AsyncGeneratorProvider, ProviderModelMixin):
models = ['free_gpt', 'gpt-4o-mini', 'deepseek-coder', 'chatpdf']
model_aliases = {
- "glm4": "free_gpt",
+ "glm-4": "free_gpt",
"gpt-3.5-turbo": "chatpdf",
"deepseek": "deepseek-coder",
}
diff --git a/g4f/Provider/FreeChatgpt.py b/g4f/Provider/FreeChatgpt.py
index 8a9c875f..a9dc0f56 100644
--- a/g4f/Provider/FreeChatgpt.py
+++ b/g4f/Provider/FreeChatgpt.py
@@ -23,9 +23,9 @@ class FreeChatgpt(AsyncGeneratorProvider, ProviderModelMixin):
model_aliases = {
"qwen-1.5-14b": "@cf/qwen/qwen1.5-14b-chat-awq",
"sparkdesk-v1.1": "SparkDesk-v1.1",
- "qwen2-7b": "Qwen2-7B-Instruct",
- "glm4-9b": "glm4-9B-chat",
- "glm3-6b": "chatglm3-6B",
+ "qwen-2-7b": "Qwen2-7B-Instruct",
+ "glm-4-9b": "glm4-9B-chat",
+ "glm-3-6b": "chatglm3-6B",
"yi-1.5-9b": "Yi-1.5-9B-Chat",
}