mirror of
https://github.com/AIPexStudio/AIPex.git
synced 2026-05-13 18:51:35 +00:00
feat(core/provider): add minimax and minimax-cn support for custom provider
This commit is contained in:
@@ -189,5 +189,8 @@ export function detectProviderFromHost(host: string): AIProviderKey {
|
||||
if (host.includes("fireworks.ai")) return "fireworks";
|
||||
if (host.includes("replicate.com")) return "replicate";
|
||||
if (host.includes("azure.com")) return "azure";
|
||||
if (host.includes("minimaxi.com") || host.includes("minimax.io")) {
|
||||
return host.includes("anthropic") ? "anthropic" : "openai";
|
||||
}
|
||||
return "custom";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user