From a1a76f82e1728b67c2c7f563a74dcb2f80852c69 Mon Sep 17 00:00:00 2001 From: sigoden Date: Fri, 14 Feb 2025 22:29:37 +0800 Subject: feat: remove supports for hyperbolic and novita (#1176) --- src/client/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/client/mod.rs') diff --git a/src/client/mod.rs b/src/client/mod.rs index af0ace1..92fd31f 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -33,7 +33,7 @@ register_client!( (bedrock, "bedrock", BedrockConfig, BedrockClient), ); -pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 24] = [ +pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 22] = [ ("ai21", "https://api.ai21.com/studio/v1"), ( "cloudflare", @@ -46,12 +46,10 @@ pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 24] = [ ("github", "https://models.inference.ai.azure.com"), ("groq", "https://api.groq.com/openai/v1"), ("hunyuan", "https://api.hunyuan.cloud.tencent.com/v1"), - ("hyperbolic", "https://api.hyperbolic.xyz/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"), - ("novita", "https://api.novita.ai/v3/openai"), ("openrouter", "https://openrouter.ai/api/v1"), ("perplexity", "https://api.perplexity.ai"), ( -- cgit v1.2.3