@musistudio/claude-code-router 1.0.26 → 1.0.27
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 +8 -0
- package/README_zh.md +7 -0
- package/dist/cli.js +3468 -1453
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -154,6 +154,11 @@ Start Claude Code using the router:
|
|
|
154
154
|
ccr code
|
|
155
155
|
```
|
|
156
156
|
|
|
157
|
+
> **Note**: After modifying the configuration file, you need to restart the service for the changes to take effect:
|
|
158
|
+
> ```shell
|
|
159
|
+
> ccr restart
|
|
160
|
+
> ```
|
|
161
|
+
|
|
157
162
|
#### Providers
|
|
158
163
|
|
|
159
164
|
The `Providers` array is where you define the different model providers you want to use. Each provider object requires:
|
|
@@ -413,5 +418,8 @@ A huge thank you to all our sponsors for their generous support!
|
|
|
413
418
|
- @*成
|
|
414
419
|
- @Z*o
|
|
415
420
|
- @*琨
|
|
421
|
+
- [@congzhangzh](https://github.com/congzhangzh)
|
|
422
|
+
- @*_
|
|
423
|
+
|
|
416
424
|
|
|
417
425
|
(If your name is masked, please contact me via my homepage email to update it with your GitHub username.)
|
package/README_zh.md
CHANGED
|
@@ -151,6 +151,11 @@ npm install -g @musistudio/claude-code-router
|
|
|
151
151
|
ccr code
|
|
152
152
|
```
|
|
153
153
|
|
|
154
|
+
> **注意**: 修改配置文件后,需要重启服务使配置生效:
|
|
155
|
+
> ```shell
|
|
156
|
+
> ccr restart
|
|
157
|
+
> ```
|
|
158
|
+
|
|
154
159
|
#### Providers
|
|
155
160
|
|
|
156
161
|
`Providers` 数组是您定义要使用的不同模型提供商的地方。每个提供商对象都需要:
|
|
@@ -408,6 +413,8 @@ jobs:
|
|
|
408
413
|
- @*琢
|
|
409
414
|
- @*成
|
|
410
415
|
- @Z*o
|
|
416
|
+
- [@congzhangzh](https://github.com/congzhangzh)
|
|
417
|
+
- @*_
|
|
411
418
|
|
|
412
419
|
(如果您的名字被屏蔽,请通过我的主页电子邮件与我联系,以便使用您的 GitHub 用户名进行更新。)
|
|
413
420
|
|