9router/open-sse/providers/registry/mimo-free.js

28 lines
682 B
JavaScript
Raw Normal View History

// Xiaomi ended the free MiMo channel ("MiMo free API service has ended").
// Hidden until/unless a replacement (OAuth MiMo Platform) is wired.
export default {
id: "mimo-free",
hidden: true,
priority: 50,
hasFree: true,
alias: "mmf",
uiAlias: "mmf",
display: {
name: "MiMo Code Free",
icon: "smart_toy",
color: "#FF6900",
textIcon: "MF",
},
category: "free",
noAuth: true,
transport: {
baseUrl: "https://api.xiaomimimo.com/api/free-ai/openai/chat",
noAuth: true,
},
models: [
{ id: "mimo-auto", name: "MiMo Auto" },
],
modelsFetcher: { url: "https://models.dev/api.json", type: "mimo-free" },
passthroughModels: true,
};