Use parsed Claude models and remove auto defaults

This commit is contained in:
Mohamed Boudra
2026-03-24 23:32:23 +07:00
parent 891dbb0f6e
commit fadeca82eb
20 changed files with 750 additions and 568 deletions
@@ -1954,6 +1954,7 @@ export class AgentManager {
this.emitState(agent);
}
}
void this.refreshRuntimeInfo(agent);
}
break;
case "timeline":
@@ -2369,8 +2370,7 @@ export class AgentManager {
if (typeof normalized.model === "string") {
const trimmed = normalized.model.trim();
const normalizedId = trimmed.toLowerCase();
normalized.model = trimmed.length > 0 && normalizedId !== "default" ? trimmed : undefined;
normalized.model = trimmed.length > 0 ? trimmed : undefined;
}
return normalized;