diff options
| author | sigoden <sigoden@gmail.com> | 2025-02-17 08:45:21 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-17 08:45:21 +0800 |
| commit | a6eda31de56044319e0207a4ffc1869e26224b26 (patch) | |
| tree | 1d288dbfad92546305d03a0a1294d2cced450658 /src | |
| parent | f14f1ad01bf31bb4bb4322661691be9392c30acf (diff) | |
| download | aichat-a6eda31de56044319e0207a4ffc1869e26224b26.tar.gz | |
feat: remove supports for fireworks/siliconflow/together (#1181)
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/mod.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs index 92fd31f..5492497 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); 22] = [ +pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 19] = [ ("ai21", "https://api.ai21.com/studio/v1"), ( "cloudflare", @@ -42,7 +42,6 @@ pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 22] = [ ("deepinfra", "https://api.deepinfra.com/v1/openai"), ("deepseek", "https://api.deepseek.com"), ("ernie", "https://qianfan.baidubce.com/v2"), - ("fireworks", "https://api.fireworks.ai/inference/v1"), ("github", "https://models.inference.ai.azure.com"), ("groq", "https://api.groq.com/openai/v1"), ("hunyuan", "https://api.hunyuan.cloud.tencent.com/v1"), @@ -56,8 +55,6 @@ pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 22] = [ "qianwen", "https://dashscope.aliyuncs.com/compatible-mode/v1", ), - ("siliconflow", "https://api.siliconflow.cn/v1"), - ("together", "https://api.together.xyz/v1"), ("xai", "https://api.x.ai/v1"), ("zhipuai", "https://open.bigmodel.cn/api/paas/v4"), // RAG-dedicated |
