@agent-proxy/gateway 0.14.2 → 0.15.0
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 +19 -0
- package/dist/index.js +643 -129
- package/dist/ui/index.html +8 -8
- package/package.json +11 -10
package/README.md
CHANGED
|
@@ -173,6 +173,25 @@ agent-proxy models --exclude none
|
|
|
173
173
|
| ~~作用域外规则~~ | ~~`cliproxy/…`、官方模型 ID~~ | **写入时拒绝**:上游模型用 `models --sync` 选择;官方模型不可排除 |
|
|
174
174
|
|
|
175
175
|
|
|
176
|
+
### 推送模型到客户端工具(--push)
|
|
177
|
+
|
|
178
|
+
把网关本地 agent 插件的模型清单(应用排除规则)写入本机客户端工具的受管供应商;
|
|
179
|
+
上游 cliproxy/newapi 与官方模型**不推送**(授权原因),zcode 插件自身的模型也不会
|
|
180
|
+
推送给 zcode(它本就直连自家上游):
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
# 推送全部内置目标(zcode 与 dsh)
|
|
184
|
+
agent-proxy models --push
|
|
185
|
+
|
|
186
|
+
# 只推送其中一个目标
|
|
187
|
+
agent-proxy models --push zcode
|
|
188
|
+
agent-proxy models --push dsh
|
|
189
|
+
|
|
190
|
+
# 先同步上游目录再推送;也可与 --exclude 组合,--push 一律在其他操作成功后最后执行
|
|
191
|
+
agent-proxy models --sync --push
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
|
|
176
195
|
### 何时需要重启 Codex
|
|
177
196
|
|
|
178
197
|
- 安装后、切换混合/仅上游模式后:重启 Codex。
|