@musistudio/claude-code-router 1.0.20 → 1.0.21
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/README.md +6 -2
- package/README_zh.md +6 -2
- package/dist/cli.js +696 -673
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -164,9 +164,10 @@ Transformers allow you to modify the request and response payloads to ensure com
|
|
|
164
164
|
|
|
165
165
|
- `deepseek`: Adapts requests/responses for DeepSeek API.
|
|
166
166
|
- `gemini`: Adapts requests/responses for Gemini API.
|
|
167
|
-
- `maxtoken`: Sets a specific `max_tokens` value.
|
|
168
167
|
- `openrouter`: Adapts requests/responses for OpenRouter API.
|
|
169
|
-
- `
|
|
168
|
+
- `groq`: Adapts requests/responses for groq API.
|
|
169
|
+
- `maxtoken`: Sets a specific `max_tokens` value.
|
|
170
|
+
- `tooluse`: Optimizes tool usage for certain models via `tool_choice`.
|
|
170
171
|
- `gemini-cli` (experimental): Unofficial support for Gemini via Gemini CLI [gemini-cli.js](https://gist.github.com/musistudio/1c13a65f35916a7ab690649d3df8d1cd).
|
|
171
172
|
|
|
172
173
|
**Custom Transformers:**
|
|
@@ -307,5 +308,8 @@ A huge thank you to all our sponsors for their generous support!
|
|
|
307
308
|
- [@yusnake](https://github.com/yusnake)
|
|
308
309
|
- @*飞
|
|
309
310
|
- @董*
|
|
311
|
+
- *汀
|
|
312
|
+
- *涯
|
|
313
|
+
- *:-)
|
|
310
314
|
|
|
311
315
|
(If your name is masked, please contact me via my homepage email to update it with your GitHub username.)
|
package/README_zh.md
CHANGED
|
@@ -161,9 +161,10 @@ Transformers 允许您修改请求和响应负载,以确保与不同提供商
|
|
|
161
161
|
|
|
162
162
|
- `deepseek`: 适配 DeepSeek API 的请求/响应。
|
|
163
163
|
- `gemini`: 适配 Gemini API 的请求/响应。
|
|
164
|
-
- `maxtoken`: 设置特定的 `max_tokens` 值。
|
|
165
164
|
- `openrouter`: 适配 OpenRouter API 的请求/响应。
|
|
166
|
-
- `
|
|
165
|
+
- `groq`: 适配 groq API 的请求/响应
|
|
166
|
+
- `maxtoken`: 设置特定的 `max_tokens` 值。
|
|
167
|
+
- `tooluse`: 优化某些模型的工具使用(通过`tool_choice`参数)。
|
|
167
168
|
- `gemini-cli` (实验性): 通过 Gemini CLI [gemini-cli.js](https://gist.github.com/musistudio/1c13a65f35916a7ab690649d3df8d1cd) 对 Gemini 的非官方支持。
|
|
168
169
|
|
|
169
170
|
**自定义 Transformer:**
|
|
@@ -304,6 +305,9 @@ jobs:
|
|
|
304
305
|
- [@yusnake](https://github.com/yusnake)
|
|
305
306
|
- @*飞
|
|
306
307
|
- @董*
|
|
308
|
+
- *汀
|
|
309
|
+
- *涯
|
|
310
|
+
- *:-)
|
|
307
311
|
|
|
308
312
|
(如果您的名字被屏蔽,请通过我的主页电子邮件与我联系,以便使用您的 GitHub 用户名进行更新。)
|
|
309
313
|
|