feat: add Novita AI as declarative provider (#8432)
Signed-off-by: Alex-wuhu <yanglongwei06@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -48,6 +48,7 @@ pub fn map_provider_name(provider: &str) -> &str {
|
||||
"gcp_vertex_ai" => "google-vertex",
|
||||
"gemini_oauth" => "google",
|
||||
"zhipu" => "zhipuai",
|
||||
"novita" => "novita-ai",
|
||||
_ => provider,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"name": "novita",
|
||||
"engine": "openai",
|
||||
"display_name": "Novita AI",
|
||||
"description": "90+ open-source models with OpenAI-compatible API and competitive pricing",
|
||||
"api_key_env": "NOVITA_API_KEY",
|
||||
"base_url": "https://api.novita.ai/openai/chat/completions",
|
||||
"catalog_provider_id": "novita-ai",
|
||||
"models": [
|
||||
{
|
||||
"name": "moonshotai/kimi-k2.5",
|
||||
"context_limit": 262144,
|
||||
"max_tokens": 262144
|
||||
},
|
||||
{
|
||||
"name": "minimax/minimax-m2.7",
|
||||
"context_limit": 204800,
|
||||
"max_tokens": 131072
|
||||
},
|
||||
{
|
||||
"name": "zai-org/glm-5.1",
|
||||
"context_limit": 204800,
|
||||
"max_tokens": 131072
|
||||
},
|
||||
{
|
||||
"name": "deepseek/deepseek-v3.2",
|
||||
"context_limit": 163840,
|
||||
"max_tokens": 65536
|
||||
},
|
||||
{
|
||||
"name": "google/gemma-4-31b-it",
|
||||
"context_limit": 262144,
|
||||
"max_tokens": 131072
|
||||
}
|
||||
],
|
||||
"supports_streaming": true
|
||||
}
|
||||
Reference in New Issue
Block a user