job51-gitlab-cr-node-jt-1 3.0.7 → 3.0.8
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/index.js +0 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1399,9 +1399,6 @@ function replaceSettingsEnvVars(settingsPath) {
|
|
|
1399
1399
|
const placeholder = `\${${varName}}`;
|
|
1400
1400
|
var actualValue = process.env[varName] || '';
|
|
1401
1401
|
if (content.includes(placeholder)) {
|
|
1402
|
-
if (varName === 'ANTHROPIC_MODEL' || varName === 'ANTHROPIC_SMALL_FAST_MODEL'){
|
|
1403
|
-
actualValue = "qwen3.7-plus"
|
|
1404
|
-
}
|
|
1405
1402
|
content = content.replace(new RegExp(placeholder.replace(/\$/g, '\\$'), 'g'), actualValue);
|
|
1406
1403
|
debugLog(`替换 ${placeholder} -> ${varName === 'ANTHROPIC_AUTH_TOKEN' ? '(已隐藏)' : actualValue}`);
|
|
1407
1404
|
}
|