diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-18 11:27:51 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-18 11:27:51 +0800 |
| commit | 2f8c6946266cf9709abef99c8ec9d58fded91398 (patch) | |
| tree | 114844339543e1de2389f9d3b5b2123b073385ac /src | |
| parent | b965c63be05c726c996ece298d6f5f2514a19316 (diff) | |
| download | aichat-2f8c6946266cf9709abef99c8ec9d58fded91398.tar.gz | |
feat: support lingyiwanwu client (#613)
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/mod.rs | 3 |
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"), ]; |
