mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user