summaryrefslogtreecommitdiffstats
path: root/src/client/mod.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2025-01-18 07:21:51 +0800
committerGitHub <noreply@github.com>2025-01-18 07:21:51 +0800
commitca714b2d7b2ef1327b97be9015b39e3dce5f9a2c (patch)
tree4639d6e4e5a3c40adabc8a50a3f61e52cb2a983a /src/client/mod.rs
parentd3ae5612a51ba6a5d31dfabfe7f638afb8a35f24 (diff)
downloadaichat-ca714b2d7b2ef1327b97be9015b39e3dce5f9a2c.tar.gz
feat: support minimax client (#1091)
Diffstat (limited to 'src/client/mod.rs')
-rw-r--r--src/client/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs
index 5189f9f..c84dcf2 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -35,7 +35,7 @@ register_client!(
(ernie, "ernie", ErnieConfig, ErnieClient),
);
-pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 21] = [
+pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 22] = [
("ai21", "https://api.ai21.com/studio/v1"),
("cloudflare", ""),
("deepinfra", "https://api.deepinfra.com/v1/openai"),
@@ -45,6 +45,7 @@ pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 21] = [
("groq", "https://api.groq.com/openai/v1"),
("hunyuan", "https://api.hunyuan.cloud.tencent.com/v1"),
("lingyiwanwu", "https://api.lingyiwanwu.com/v1"),
+ ("minimax", "https://api.minimax.chat/v1"),
("mistral", "https://api.mistral.ai/v1"),
("moonshot", "https://api.moonshot.cn/v1"),
("openrouter", "https://openrouter.ai/api/v1"),