From f1cbb3c006fdbf0815a33800b62b66eb52a55a5f Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 22 Aug 2024 06:41:16 +0800 Subject: feat: support github client (#798) --- src/client/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client') diff --git a/src/client/mod.rs b/src/client/mod.rs index 80f526a..5a4a9ac 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -40,10 +40,11 @@ register_client!( (qianwen, "qianwen", QianwenConfig, QianwenClient), ); -pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 14] = [ +pub const OPENAI_COMPATIBLE_PLATFORMS: [(&str, &str); 15] = [ ("deepinfra", "https://api.deepinfra.com/v1/openai"), ("deepseek", "https://api.deepseek.com"), ("fireworks", "https://api.fireworks.ai/inference/v1"), + ("github", "https://models.inference.ai.azure.com"), ("groq", "https://api.groq.com/openai/v1"), ("jina", "https://api.jina.ai/v1"), ("lingyiwanwu", "https://api.lingyiwanwu.com/v1"), -- cgit v1.2.3