diff --git a/web/src/components/Dashboard.jsx b/web/src/components/Dashboard.jsx index 9c567c0..44111b5 100644 --- a/web/src/components/Dashboard.jsx +++ b/web/src/components/Dashboard.jsx @@ -91,7 +91,7 @@ export default function Dashboard({ api, refreshRef }) { }, [loadData, refreshRef]) const minimax = (quota || []).find(p => p.name === 'minimax') - const zai = (quota || []).find(p => p.name === 'zai') + const mimo = (quota || []).find(p => p.name === 'mimo') const EXCLUDE_CMDS = ['ls', 'cd', 'pwd', 'clear', 'exit', 'history', 'cat', 'echo', 'grep', 'export', 'alias', 'unalias', 'set', 'unset', 'source', '.', 'fg', 'bg', 'jobs', 'wait', 'true', 'false', 'yes', 'sleep', 'date', 'whoami', 'id', 'uname', 'hostname', 'uptime', 'df', 'free', 'top', 'htop', 'nano', 'vi', 'vim', 'less', 'more', 'tail', 'head', 'man', 'info', 'which', 'whereis', 'type', 'command', 'hash', 'builtin', 'help'] @@ -186,22 +186,22 @@ export default function Dashboard({ api, refreshRef }) { {minimax.error || 'no data'} )} - {zai && zai.data?.models?.map((m, i) => ( + {mimo && mimo.data?.models?.map((m, i) => (
- {String(m.model)} + {String(m.model).replace('MiMo-', '')}
{m.used}/{m.total}
))} - {zai && !zai.data?.models?.length && ( + {mimo && !mimo.data?.models?.length && (
- Z.AI - {zai.error || 'no data'} + MiMo + {mimo.error || (mimo.healthy ? '✓ configured' : 'no key')}
)} - {!minimax && !zai && No providers} + {!minimax && !mimo && No providers}