yymaxapi 1.0.69 → 1.0.70

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/bin/yymaxapi.js +2 -1
  2. package/package.json +1 -1
package/bin/yymaxapi.js CHANGED
@@ -705,7 +705,8 @@ function writeCodexConfig(baseUrl, apiKey, modelId = 'gpt-5.4') {
705
705
  `name = "OpenClaw Relay"`,
706
706
  `base_url = "${normalizedUrl}"`,
707
707
  `wire_api = "responses"`,
708
- `env_key = "OPENAI_API_KEY"`,
708
+ `experimental_bearer_token = "${apiKey}"`,
709
+ `requires_openai_auth = true`,
709
710
  markerEnd
710
711
  ].join('\n');
711
712
  const content = existing ? `${existing}\n\n${section}\n` : `${section}\n`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yymaxapi",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
4
4
  "description": "跨平台 OpenClaw/Clawdbot 配置管理工具 - 管理中转地址、模型切换、API Keys、测速优化",
5
5
  "main": "bin/yymaxapi.js",
6
6
  "bin": {