diff options
| author | sigoden <sigoden@gmail.com> | 2025-01-28 08:59:31 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-28 08:59:31 +0800 |
| commit | d357e6ddb4d2d9374dc1eeb6cab43035460e17a2 (patch) | |
| tree | 8b899d82c1fe4666d9b0421361def6be050f8602 /src/client | |
| parent | 22d21237dd3a8ca8144569e43aacc5aeda0cf53f (diff) | |
| download | aichat-d357e6ddb4d2d9374dc1eeb6cab43035460e17a2.tar.gz | |
feat: add novita client (#1132)
Diffstat (limited to 'src/client')
| -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 c87d2b5..c6b65bc 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); 24] = [ +pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 25] = [ ("ai21", "https://api.ai21.com/studio/v1"), ( "cloudflare", @@ -51,6 +51,7 @@ pub const OPENAI_COMPATIBLE_PROVIDERS: [(&str, &str); 24] = [ ("minimax", "https://api.minimax.chat/v1"), ("mistral", "https://api.mistral.ai/v1"), ("moonshot", "https://api.moonshot.cn/v1"), + ("novita", "https://api.novita.ai/v3/openai"), ("openrouter", "https://openrouter.ai/api/v1"), ("ollama", "http://{OLLAMA_HOST}:11434/v1"), ("perplexity", "https://api.perplexity.ai"), |
