@yhong91/cpac 0.1.9 → 0.1.10
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/cpac.js +2 -2
- package/package.json +1 -1
package/dist/cpac.js
CHANGED
|
@@ -1429,7 +1429,7 @@ async function guide(config) {
|
|
|
1429
1429
|
}
|
|
1430
1430
|
export async function runClaudeModels(parsed) {
|
|
1431
1431
|
if (parsed.pick.length) {
|
|
1432
|
-
const config = loadConfig(parsed.configPath);
|
|
1432
|
+
const config = loadConfig(parsed.configPath, true);
|
|
1433
1433
|
const apiKey = process.env[config.api_key_env]?.trim();
|
|
1434
1434
|
if (!apiKey)
|
|
1435
1435
|
throw new CPACError(`environment variable ${config.api_key_env} is not set`);
|
|
@@ -1444,7 +1444,7 @@ export async function runClaudeModels(parsed) {
|
|
|
1444
1444
|
}
|
|
1445
1445
|
}
|
|
1446
1446
|
if (!parsed.reset && !Object.keys(parsed.models).length) {
|
|
1447
|
-
const config = loadConfig(parsed.configPath);
|
|
1447
|
+
const config = loadConfig(parsed.configPath, true);
|
|
1448
1448
|
console.log(config.claude_models
|
|
1449
1449
|
? JSON.stringify(config.claude_models, null, 2)
|
|
1450
1450
|
: "claude_models not set; cpac claude auto-picks tier models from the CPA catalog");
|