pi-multikey 1.8.1 → 1.9.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 CHANGED
@@ -29,7 +29,7 @@ pi install /path/to/multikey
29
29
  /multikey → Add pool… → Preset: B.AI → paste keys one per line (blank line to finish)
30
30
  ```
31
31
 
32
- After picking the preset, the endpoint, compat, and all 4 model definitions are wired up automatically. Models are available directly as `bai/<model-id>`, e.g. `bai/hy3`.
32
+ After picking the preset, the endpoint, compat, and all 3 model definitions are wired up automatically. Models are available directly as `bai/<model-id>`, e.g. `bai/hy3`.
33
33
 
34
34
  ## Presets
35
35
 
@@ -40,7 +40,6 @@ Built-in presets decouple "model settings" from "keys". The data comes from b.ai
40
40
  | hy3 | 256K / 128K | text | off · low · high |
41
41
  | mimo-v2.5 | 1M / 128K | text+image | off · high (official: low/medium/high behave identically) |
42
42
  | qwen3.8-flash | 1M / 131K | text+image | off · low · medium · xhigh |
43
- | glm-5.3-flash | 1M / 131K | text+image | low · high · max (always thinks, no off) |
44
43
 
45
44
  > Why `null` must be explicit: pi's `getSupportedThinkingLevels` treats `mapped === null` as unsupported and hides that level, but **omitting** it is treated as supported and the level name is sent to the API verbatim; `xhigh` / `max` additionally require an explicit non-null value to be usable.
46
45
 
package/README.zh.md CHANGED
@@ -27,7 +27,7 @@ pi install /path/to/multikey
27
27
  /multikey → Add pool… → Preset: B.AI → 逐行粘贴 key(一行一个,留空结束)
28
28
  ```
29
29
 
30
- 选 preset 后 endpoint、compat、4 个模型的全部设定自动就位,模型通过
30
+ 选 preset 后 endpoint、compat、3 个模型的全部设定自动就位,模型通过
31
31
  `bai/<model-id>` 直接可用,例如 `bai/hy3`。
32
32
 
33
33
  ## Presets
@@ -41,7 +41,6 @@ DeepSeek / Tencent / 小米官方文档,并对每个 thinking 档位做过实
41
41
  | hy3 | 256K / 128K | text | off · low · high |
42
42
  | mimo-v2.5 | 1M / 128K | text+image | off · high(官方:low/medium/high 行为相同) |
43
43
  | qwen3.8-flash | 1M / 131K | text+image | off · low · medium · xhigh |
44
- | glm-5.3-flash | 1M / 131K | text+image | low · high · max(始终思考,无 off) |
45
44
 
46
45
  > 为什么必须显式写 `null`:pi 的 `getSupportedThinkingLevels` 把 `mapped === null`
47
46
  > 视为不支持并隐藏该档,但**省略**会被当作支持并把档名原样发给 API;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-multikey",
3
- "version": "1.8.1",
3
+ "version": "1.9.0",
4
4
  "description": "One pi provider backed by many API keys: automatic 429 rotation, per-request key leases for concurrent subagents, and a /multikey management TUI",
5
5
  "keywords": [
6
6
  "pi-package",
package/presets.ts CHANGED
@@ -57,7 +57,7 @@ export const PRESETS: Preset[] = [
57
57
  {
58
58
  id: "b-ai",
59
59
  name: "B.AI",
60
- description: "api.b.ai — Hunyuan Hy3, MiMo V2.5, Qwen3.8, GLM 5.3 (4 models)",
60
+ description: "api.b.ai — Hunyuan Hy3, MiMo V2.5, Qwen3.8 (3 models)",
61
61
  defaultPoolId: "bai",
62
62
  baseUrl: "https://api.b.ai/v1",
63
63
  api: "openai-completions",
@@ -96,17 +96,6 @@ export const PRESETS: Preset[] = [
96
96
  maxTokens: 131_072,
97
97
  thinkingLevelMap: levels({ off: "none", low: "low", medium: "medium", xhigh: "xhigh" }),
98
98
  },
99
- {
100
- // docs.b.ai/llmservice/models/glm-5-3-flash — always thinks (off unsupported);
101
- // reasoning_effort: low/high/max, default max.
102
- id: "glm-5.3-flash",
103
- name: "GLM 5.3 Flash",
104
- reasoning: true,
105
- input: ["text", "image"],
106
- contextWindow: 1_000_000,
107
- maxTokens: 131_072,
108
- thinkingLevelMap: levels({ low: "low", high: "high", max: "max" }),
109
- },
110
99
  ],
111
100
  },
112
101
  {