fix(model-resolution): normalize model format and remove dead config flag

This commit is contained in:
YeonGyu-Kim
2026-03-03 00:31:12 +09:00
parent e461c81cec
commit e2ddd03306
4 changed files with 60 additions and 5 deletions
+1 -2
View File
@@ -34,7 +34,6 @@ export type ModelResolutionResult = {
variant?: string
attempted?: string[]
reason?: string
explicitUserConfig?: boolean
}
@@ -56,7 +55,7 @@ export function resolveModelPipeline(
const normalizedUserModel = normalizeModel(intent?.userModel)
if (normalizedUserModel) {
log("Model resolved via config override", { model: normalizedUserModel })
return { model: normalizedUserModel, provenance: "override", explicitUserConfig: true }
return { model: normalizedUserModel, provenance: "override" }
}
const normalizedCategoryDefault = normalizeModel(intent?.categoryDefaultModel)