aicodeswitch 3.0.3 → 3.0.4

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.
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>AI Code Switch</title>
7
- <script type="module" crossorigin src="./assets/index-DgBQpyCC.js"></script>
7
+ <script type="module" crossorigin src="./assets/index-DyW-TIXE.js"></script>
8
8
  <link rel="stylesheet" crossorigin href="./assets/index-BFZeqM0H.css">
9
9
  </head>
10
10
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aicodeswitch",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "A tool to help you manage AI programming tools to access large language models locally. It allows your Claude Code, Codex and other tools to no longer be limited to official models.",
5
5
  "author": "tangshuang",
6
6
  "license": "GPL-3.0",
@@ -805,6 +805,17 @@ x-goog-api-key: YOUR_API_KEY
805
805
  Content-Type: application/json
806
806
  ```
807
807
 
808
+ ### 在 AI Code Switch 中配置 Gemini
809
+
810
+ **API URL 配置**:
811
+ - 只需填写 base 地址:`https://generativelanguage.googleapis.com`
812
+ - 代理会自动根据模型拼接完整 URL(如 `/v1beta/models/gemini-2.0-flash:generateContent`)
813
+
814
+ **认证方式**:
815
+ - 选择 `GOOGLE_API_KEY` (x-goog-api-key) 认证方式
816
+ - 或选择 `自动`,系统会根据 Gemini 类型自动使用 x-goog-api-key
817
+ - API Key 从你的 Google AI Studio 获取
818
+
808
819
  ### 支持的 MIME 类型
809
820
 
810
821
  **图像**: