summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-06-18 11:27:51 +0800
committerGitHub <noreply@github.com>2024-06-18 11:27:51 +0800
commit2f8c6946266cf9709abef99c8ec9d58fded91398 (patch)
tree114844339543e1de2389f9d3b5b2123b073385ac /src/client
parentb965c63be05c726c996ece298d6f5f2514a19316 (diff)
downloadaichat-2f8c6946266cf9709abef99c8ec9d58fded91398.tar.gz
feat: support lingyiwanwu client (#613)
Diffstat (limited to 'src/client')
-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 00aa7d0..579c2a3 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -45,7 +45,7 @@ register_client!(
(qianwen, "qianwen", QianwenConfig, QianwenClient),
);
-pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 12] = [
+pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 13] = [
("anyscale", "https://api.endpoints.anyscale.com/v1"),
("deepinfra", "https://api.deepinfra.com/v1/openai"),
("deepseek", "https://api.deepseek.com"),
@@ -58,4 +58,5 @@ pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 12] = [
("perplexity", "https://api.perplexity.ai"),
("together", "https://api.together.xyz/v1"),
("zhipuai", "https://open.bigmodel.cn/api/paas/v4"),
+ ("lingyiwanwu", "https://api.lingyiwanwu.com/v1"),
];