fix: restore page routes (/, /tasks, /wiki, /agents, /usage)
This commit is contained in:
@@ -981,7 +981,6 @@ app.get('/api/usage/real', async (req, res) => {
|
||||
agentOutput += u.output || 0;
|
||||
agentCost += u.cost?.total || 0;
|
||||
|
||||
// Track by model
|
||||
const model = msg.message.model || 'unknown';
|
||||
if (!usageByModel[model]) {
|
||||
usageByModel[model] = { input: 0, output: 0, requests: 0 };
|
||||
|
||||
Reference in New Issue
Block a user