summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2025-02-14 22:29:37 +0800
committerGitHub <noreply@github.com>2025-02-14 22:29:37 +0800
commita1a76f82e1728b67c2c7f563a74dcb2f80852c69 (patch)
tree9da2b02d7d38e76ce0ce8e9f32f23b6392769b34 /src
parent1f0c5773197793055ecb5129591e767fd6440c25 (diff)
downloadaichat-a1a76f82e1728b67c2c7f563a74dcb2f80852c69.tar.gz
feat: remove supports for hyperbolic and novita (#1176)
Diffstat (limited to 'src')
-rw-r--r--src/client/mod.rs4
1 files changed, 1 insertions, 3 deletions
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"),
(