From 9ff8ef06f4099bb6e222b98ad7b32fe159d86429 Mon Sep 17 00:00:00 2001 From: sigoden Date: Wed, 22 Jan 2025 21:46:59 +0800 Subject: feat: support hyperbolic client (#1115) --- src/client/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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"), -- cgit v1.2.3