fix: allow variant override even with agent model config (#3163)
model-selection.ts now separates model selection from variant/reasoning tier, so agent model overrides don't lock the variant. 34 tests pass, 5009 total, tsc clean. Closes #3163
This commit is contained in:
@@ -197,7 +197,7 @@ describe("resolveCategoryExecution", () => {
|
||||
if (!result.actualModel || !result.categoryModel) {
|
||||
throw new Error("Expected resolved model and category model")
|
||||
}
|
||||
expect(result.actualModel).toBe("openai/gpt-5.4 high")
|
||||
expect(result.actualModel).toBe("openai/gpt-5.4")
|
||||
expect(result.categoryModel).toEqual({
|
||||
providerID: "openai",
|
||||
modelID: "gpt-5.4",
|
||||
|
||||
Reference in New Issue
Block a user