dsh-opendesign-corouter 0.1.13 → 0.1.14
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 +1 -1
- package/lib/catalog.d.ts +3 -3
- package/lib/client.d.ts +1 -0
- package/lib/client.js +27 -3
- package/lib/config.d.ts +4 -0
- package/lib/device-auth.d.ts +1 -1
- package/lib/generated/typert.host.js +7 -1
- package/lib/generated/typert.remote-client.js +7 -1
- package/lib/image-budget.d.ts +4 -0
- package/lib/index.js +53 -8
- package/lib/index.js.map +4 -4
- package/lib/model-discovery.d.ts +1 -1
- package/lib/remote.d.ts +1 -0
- package/package.json +1 -1
package/lib/model-discovery.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* `redirect: 'error'`,20 秒上限,响应体上限 2 MiB。
|
|
7
7
|
* - 与推理协议解耦:本函数不接受 protocol 参数,也不根据协议挑选路径。
|
|
8
8
|
* - 归一化只接受 `data[]` 中可用且有界的 id;已知 id 继承 catalog 的分组与能力,
|
|
9
|
-
* 新 id
|
|
9
|
+
* 新 id 归 `paid`。显式上下文容量只作为保守参考,不凭名称推断能力。
|
|
10
10
|
* - 媒体输出模型(图像/视频/语音,走 `/api/v1/media/*`)不进对话目录。
|
|
11
11
|
* - 所有失败折叠为 `ModelDiscoveryError` 的固定分类与固定文字,不回显凭据、
|
|
12
12
|
* 请求头或响应体。
|
package/lib/remote.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export interface StatusConfig {
|
|
|
19
19
|
requestTimeoutMs?: number;
|
|
20
20
|
streamIdleTimeoutMs?: number;
|
|
21
21
|
quotaRefreshSeconds?: number;
|
|
22
|
+
maxRequestImageBytes?: number;
|
|
22
23
|
}
|
|
23
24
|
/** One selectable model; `group` selects which of the two Providers owns it. */
|
|
24
25
|
export interface StatusModel {
|