diff options
| author | sigoden <sigoden@gmail.com> | 2024-11-13 07:58:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-13 07:58:05 +0800 |
| commit | f720135e7d6aaf9bb2d8b64c1032aadd1b32d6bc (patch) | |
| tree | f947694c52f2ced4db4579dfefbc5264aa62a2be /src/client/mod.rs | |
| parent | 36e884c4b58e2d81fc44b9f3201543632cde33fa (diff) | |
| download | aichat-f720135e7d6aaf9bb2d8b64c1032aadd1b32d6bc.tar.gz | |
feat: remove supports for huggingface (#988)
Diffstat (limited to 'src/client/mod.rs')
| -rw-r--r-- | src/client/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs index 2430d94..b22508b 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -35,7 +35,7 @@ register_client!( (ernie, "ernie", ErnieConfig, ErnieClient), ); -pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 22] = [ +pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 21] = [ ("ai21", "https://api.ai21.com/studio/v1"), ("cloudflare", ""), ("deepinfra", "https://api.deepinfra.com/v1/openai"), @@ -43,7 +43,6 @@ pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 22] = [ ("fireworks", "https://api.fireworks.ai/inference/v1"), ("github", "https://models.inference.ai.azure.com"), ("groq", "https://api.groq.com/openai/v1"), - ("huggingface", "https://api-inference.huggingface.co/v1"), ("hunyuan", "https://api.hunyuan.cloud.tencent.com/v1"), ("lingyiwanwu", "https://api.lingyiwanwu.com/v1"), ("mistral", "https://api.mistral.ai/v1"), |
