pi-sophnet 1.0.0 → 1.0.2

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
@@ -30,7 +30,7 @@ Set your Sophnet API key using one of:
30
30
  | GLM-5.1 | 200K | ¥8 / ¥28 |
31
31
  | MiniMax-M3 | 512K | ¥2.1 / ¥8.4 |
32
32
  | Kimi-K2.6 | 256K | ¥6.5 / ¥27 |
33
- | qwen3.7-max | 524K | ¥6 / ¥18 |
33
+ | qwen3.7-max | 200K | ¥6 / ¥18 |
34
34
 
35
35
  ## License
36
36
 
@@ -98,6 +98,7 @@ const SHARED_COMPAT = {
98
98
  maxTokensField: "max_tokens" as const,
99
99
  supportsReasoningEffort: true,
100
100
  thinkingFormat: "deepseek" as const,
101
+ requiresReasoningContentOnAssistantMessages: true,
101
102
  };
102
103
 
103
104
  const DEEPSEEK_THINKING = { off: "disabled", minimal: null, low: "low", medium: "medium", high: "high", xhigh: "max" };
@@ -139,7 +140,7 @@ const SOPHNET_MODELS = [
139
140
  },
140
141
  {
141
142
  id: "qwen3.7-max", name: "qwen3.7-max", reasoning: true, input: ["text"] as const,
142
- contextWindow: 524_288, maxTokens: 65536,
143
+ contextWindow: 200_000, maxTokens: 65536,
143
144
  cost: { input: 6, output: 18, cacheRead: 0, cacheWrite: 0 },
144
145
  compat: SHARED_COMPAT, thinkingLevelMap: QWEN_THINKING,
145
146
  },
package/package.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "pi-sophnet",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Sophnet provider extension for pi — register Sophnet models, display billing info in the status bar",
5
- "keywords": ["pi-package"],
5
+ "keywords": [
6
+ "pi-package"
7
+ ],
6
8
  "license": "MIT",
7
9
  "author": "zisen",
8
10
  "repository": {
@@ -10,9 +12,13 @@
10
12
  "url": "https://github.com/zisen123/pi-sophnet"
11
13
  },
12
14
  "pi": {
13
- "extensions": ["./extensions"]
15
+ "extensions": [
16
+ "./extensions"
17
+ ]
14
18
  },
15
- "files": ["extensions/"],
19
+ "files": [
20
+ "extensions/"
21
+ ],
16
22
  "peerDependencies": {
17
23
  "@earendil-works/pi-coding-agent": "*",
18
24
  "typebox": "*"