From 2f8c6946266cf9709abef99c8ec9d58fded91398 Mon Sep 17 00:00:00 2001 From: sigoden Date: Tue, 18 Jun 2024 11:27:51 +0800 Subject: feat: support lingyiwanwu client (#613) --- src/client/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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"), ]; -- cgit v1.2.3