diff options
| author | sigoden <sigoden@gmail.com> | 2025-01-22 21:46:59 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-22 21:46:59 +0800 |
| commit | 9ff8ef06f4099bb6e222b98ad7b32fe159d86429 (patch) | |
| tree | 3e126616b1de05abe9f434f940c716d6418a5589 /src/client/mod.rs | |
| parent | e0417e8d5bebe25476aaafa22a9ee23d9bd61457 (diff) | |
| download | aichat-9ff8ef06f4099bb6e222b98ad7b32fe159d86429.tar.gz | |
feat: support hyperbolic client (#1115)
Diffstat (limited to 'src/client/mod.rs')
| -rw-r--r-- | src/client/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs index bf11107..d8b41c6 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -34,7 +34,7 @@ register_client!( (ernie, "ernie", ErnieConfig, ErnieClient), ); -pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 22] = [ +pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 23] = [ ("ai21", "https://api.ai21.com/studio/v1"), ( "cloudflare", @@ -46,6 +46,7 @@ pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 22] = [ ("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"), |
