fix: update default model settings for claude max pro anthropic models (#369)

This commit is contained in:
jnjpng
2025-12-23 12:40:46 -08:00
committed by GitHub
parent f73ef1d552
commit a9ab40bd6e
2 changed files with 46 additions and 1 deletions

View File

@@ -5000,7 +5000,9 @@ Plan file path: ${planFilePath}`;
const { updateAgentLLMConfig } = await import(
"../agent/modify"
);
await updateAgentLLMConfig(agentId, modelHandle);
const { getModelUpdateArgs } = await import("../agent/model");
const updateArgs = getModelUpdateArgs(modelHandle);
await updateAgentLLMConfig(agentId, modelHandle, updateArgs);
// Update current model display
setCurrentModelId(modelHandle);
}}