Merge remote-tracking branch 'upstream/dev' into fix/log-agent-skip-on-missing-model

This commit is contained in:
MoerAI
2026-05-26 11:10:03 +09:00
232 changed files with 12737 additions and 5953 deletions
+7 -1
View File
@@ -39,7 +39,7 @@ export function maybeCreateAtlasConfig(input: {
const orchestratorOverride = agentOverrides["atlas"]
const atlasRequirement = AGENT_MODEL_REQUIREMENTS["atlas"]
const atlasResolution = applyModelResolution({
let atlasResolution = applyModelResolution({
uiSelectedModel: orchestratorOverride?.model !== undefined ? undefined : uiSelectedModel,
userModel: orchestratorOverride?.model,
requirement: atlasRequirement,
@@ -47,6 +47,12 @@ export function maybeCreateAtlasConfig(input: {
systemDefaultModel,
})
if (!atlasResolution && orchestratorOverride?.model) {
// User explicitly configured a model but resolution failed (e.g., cold cache, no system default).
// Honor the user's choice directly instead of dropping Atlas entirely.
atlasResolution = { model: orchestratorOverride.model, provenance: "override" as const }
}
if (!atlasResolution) {
log("[agent-registration] Agent skipped: model resolution returned no result", {
agent: "atlas",