job51-gitlab-cr-node-jt-1 3.0.6 → 3.0.7

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.
Files changed (2) hide show
  1. package/index.js +4 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1397,8 +1397,11 @@ function replaceSettingsEnvVars(settingsPath) {
1397
1397
  // 替换每个占位符
1398
1398
  for (const varName of envVars) {
1399
1399
  const placeholder = `\${${varName}}`;
1400
- const actualValue = process.env[varName] || '';
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
+ }
1402
1405
  content = content.replace(new RegExp(placeholder.replace(/\$/g, '\\$'), 'g'), actualValue);
1403
1406
  debugLog(`替换 ${placeholder} -> ${varName === 'ANTHROPIC_AUTH_TOKEN' ? '(已隐藏)' : actualValue}`);
1404
1407
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "job51-gitlab-cr-node-jt-1",
3
- "version": "3.0.6",
3
+ "version": "3.0.7",
4
4
  "description": "GitLab merge request code review tool with AI-powered analysis and project context support",
5
5
  "main": "index.js",
6
6
  "bin": {