Feature/add mimo provider (#1987)

* feat: add Xiaomi MiMo provider support

- Add 'mimo' protocol prefix support in factory_provider.go
- Add default API base URL for MiMo: https://api.xiaomimimo.com/v1
- Update provider-label.ts to include Xiaomi MiMo label
- Add MiMo to provider tables in both English and Chinese documentation
- Add comprehensive unit tests for MiMo provider

MiMo API is compatible with OpenAI API format, making it easy to integrate
with the existing HTTPProvider infrastructure.

Users can now use MiMo by configuring:
{
  "model_name": "mimo",
  "model": "mimo/mimo-v2-pro",
  "api_key": "your-mimo-api-key"
}

* hassas dosyaları kaldırma

* Add .security.yml and onboard to .gitignore
This commit is contained in:
肆月 authored and GitHub committed 2026-03-25 23:29:44 +08:00
1 parent a97d433902
commit bb2eddc79d
8 files changed
+43 -1

No files matched your search

@@ -32,6 +32,7 @@ const PROVIDER_PRIORITY: Record<string, number> = {
vllm: 16,
mistral: 17,
avian: 18,
mimo: 19,
}
interface ProviderGroup {
@@ -37,6 +37,7 @@ const PROVIDER_DOMAINS: Record<string, string> = {
avian: "avian.io",
vllm: "vllm.ai",
zhipu: "zhipuai.cn",
mimo: "xiaomi.com",
}
interface ProviderIconProps {
@@ -18,6 +18,7 @@ const PROVIDER_LABELS: Record<string, string> = {
avian: "Avian",
vllm: "VLLM (local)",
zhipu: "Zhipu AI (智谱)",
mimo: "Xiaomi MiMo",
}
export function getProviderKey(model: string): string {