@kody-ade/kody-engine-lite 0.1.59 → 0.1.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/cli.js +3 -0
- package/package.json +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -1241,6 +1241,9 @@ function resolveModel(modelTier, stageName) {
|
|
|
1241
1241
|
if (config.agent.usePerStageRouting && stageName) {
|
|
1242
1242
|
return stageName;
|
|
1243
1243
|
}
|
|
1244
|
+
if (config.agent.provider && config.agent.provider !== "anthropic") {
|
|
1245
|
+
return DEFAULT_MODEL_MAP[modelTier] ?? "sonnet";
|
|
1246
|
+
}
|
|
1244
1247
|
const mapped = config.agent.modelMap[modelTier];
|
|
1245
1248
|
if (mapped) return mapped;
|
|
1246
1249
|
return DEFAULT_MODEL_MAP[modelTier] ?? "sonnet";
|