mirror of
https://github.com/dtzp555-max/ocm.git
synced 2026-07-21 21:15:08 +00:00
fix: include ocmVersion in /api/status
This commit is contained in:
@@ -354,6 +354,7 @@ async function handleApi(req, res, urlObj, body) {
|
||||
})(),
|
||||
primaryModel: cfg.agents?.defaults?.model?.primary || '未配置',
|
||||
platform: process.platform,
|
||||
ocmVersion: APP_VERSION,
|
||||
}));
|
||||
} catch (e) { res.writeHead(500); res.end(JSON.stringify({ ok: false, error: e.message })); }
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user