pumpkinai-config 1.0.6 → 1.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/claude-setup.js +5 -9
- package/codex-setup.js +1 -1
- package/package.json +1 -1
package/claude-setup.js
CHANGED
|
@@ -175,7 +175,8 @@ function createClaudeConfig(apiKey) {
|
|
|
175
175
|
const settings = {
|
|
176
176
|
env: {
|
|
177
177
|
ANTHROPIC_AUTH_TOKEN: apiKey,
|
|
178
|
-
ANTHROPIC_BASE_URL: "https://code.ppchat.vip"
|
|
178
|
+
ANTHROPIC_BASE_URL: "https://code.ppchat.vip",
|
|
179
|
+
ANTHROPIC_DEFAULT_HAIKU_MODEL: "claude-3-5-haiku-20241022"
|
|
179
180
|
}
|
|
180
181
|
};
|
|
181
182
|
|
|
@@ -409,16 +410,11 @@ function showCompletionInfo() {
|
|
|
409
410
|
log(' claude', 'yellow');
|
|
410
411
|
} else if (osType === 'mac') {
|
|
411
412
|
log(' 请重新打开终端后运行:', 'reset');
|
|
412
|
-
log('
|
|
413
|
-
|
|
414
|
-
log(' 如需在当前终端立即生效:', 'yellow');
|
|
415
|
-
log(' source ~/.zshrc && claude', 'yellow');
|
|
413
|
+
log(' claude', 'yellow');
|
|
414
|
+
|
|
416
415
|
} else {
|
|
417
416
|
log(' 请重新打开终端后运行:', 'reset');
|
|
418
|
-
log('
|
|
419
|
-
log('', 'reset');
|
|
420
|
-
log(' 如需在当前终端立即生效:', 'yellow');
|
|
421
|
-
log(' source ~/.bashrc && claude', 'yellow');
|
|
417
|
+
log(' claude', 'yellow');
|
|
422
418
|
}
|
|
423
419
|
|
|
424
420
|
const claudeVersion = getClaudeVersion();
|
package/codex-setup.js
CHANGED
|
@@ -190,7 +190,7 @@ function createConfigToml(codexDir) {
|
|
|
190
190
|
const configPath = path.join(codexDir, 'config.toml');
|
|
191
191
|
|
|
192
192
|
const configContent = `model_provider = "codex"
|
|
193
|
-
model = "gpt-5" #可更改为model = "gpt-5-codex"
|
|
193
|
+
model = "gpt-5.1" #可更改为model = "gpt-5.1-codex或者gpt-5.1-codex-max"
|
|
194
194
|
model_reasoning_effort = "high"
|
|
195
195
|
disable_response_storage = true
|
|
196
196
|
|