@mmteam/jsllm 0.1.13 → 0.1.16

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.
Files changed (4) hide show
  1. package/README.md +2 -3
  2. package/index.cjs +49710 -0
  3. package/package.json +3 -14
  4. package/types.d.ts +321 -0
package/README.md CHANGED
@@ -136,8 +136,8 @@ init: {
136
136
  判断规则:`providerName` 以 `qwen` 前缀(不区分大小写)即视为 qwen 模式(如 `qwen1`、`qwen-local`)。
137
137
 
138
138
  thinking 参数:
139
- - 公共字段:`thinking.enabled`、`thinking.budgetTokens`
140
- - qwen 私有字段:`qwen.enable_thinking`、`qwen.thinking_budget`(优先级高于公共字段)
139
+ - 推荐(统一入口):`thinking.enabled`、`thinking.budgetTokens`
140
+ - 兼容(不推荐):`qwen.enable_thinking`、`qwen.thinking_budget`(已废弃但仍支持;若同时存在则覆盖 `thinking`)
141
141
 
142
142
  示例:
143
143
  ```js
@@ -148,7 +148,6 @@ init: {
148
148
  baseUrl: "http://localhost:8000/v1",
149
149
  model: "qwen2.5",
150
150
  thinking: { enabled: true, budgetTokens: 2048 },
151
- qwen: { enable_thinking: true, thinking_budget: 2048 },
152
151
  }
153
152
  ```
154
153