@pikecode/api-key-manager 1.0.37 → 1.0.38

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pikecode/api-key-manager",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "description": "A CLI tool for managing and switching multiple API provider configurations",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -144,7 +144,7 @@ function ensureApiKeyAuthMethod(configToml) {
144
144
  * @returns {string} auth.json 内容
145
145
  */
146
146
  function buildAuthJson(apiKey) {
147
- return JSON.stringify({ api_key: apiKey }, null, 2);
147
+ return JSON.stringify({ OPENAI_API_KEY: apiKey }, null, 2);
148
148
  }
149
149
 
150
150
  /**