Add Xiaomi MiMo provider support
- Introduced Xiaomi MiMo as a new provider in providerModels.js and providers.js. - Updated model alias mapping in model.js to include Xiaomi MiMo. - Enhanced validation route to support Xiaomi MiMo API endpoints. - Added Xiaomi MiMo to APIKEY_PROVIDERS with relevant details. This update expands the range of supported providers, improving integration capabilities.
This commit is contained in:
@@ -372,6 +372,10 @@ export const PROVIDERS = {
|
||||
baseUrl: "https://api.cloudflare.com/client/v4/accounts/{accountId}/ai/v1/chat/completions",
|
||||
format: "openai"
|
||||
},
|
||||
"xiaomi-mimo": {
|
||||
baseUrl: "https://api.xiaomimimo.com/v1/chat/completions",
|
||||
format: "openai"
|
||||
},
|
||||
};
|
||||
|
||||
export const OLLAMA_LOCAL_DEFAULT_HOST = "http://localhost:11434";
|
||||
|
||||
Reference in New Issue
Block a user