@oldsuns/pi-switch 0.2.8 → 0.2.10
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
CHANGED
|
@@ -75,7 +75,7 @@ node ./bin/pi-switch.js
|
|
|
75
75
|
|
|
76
76
|
Provider 表单:`baseUrl`、`api`(`openai-completions` / `openai-responses` / `anthropic-messages` / `google-generative-ai`)、`apiKey`、`authHeader`、Headers(独立 `User-Agent` + 其余 JSON)、`compat`(含一等开关 Session affinity = `sendSessionAffinityHeaders`)。
|
|
77
77
|
|
|
78
|
-
Model 表单:`id`、`name`、API override、reasoning、文本/图像输入、context window、max tokens
|
|
78
|
+
Model 表单:`id`、`name`、API override、reasoning、文本/图像输入、context window、max tokens、thinking levels(`thinkingLevelMap`)。`cost`、`modelOverrides`、OAuth 等未知字段会无损保留。字段语义以 [Pi Custom Models](https://github.com/earendil-works/pi/blob/main/packages/coding-agent/docs/models.md) 为准。
|
|
79
79
|
|
|
80
80
|
### 会话 (Sessions)
|
|
81
81
|
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|