@aliou/pi-neuralwatt 0.6.1 → 0.6.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aliou/pi-neuralwatt",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "private": false,
@@ -70,6 +70,36 @@ export const NEURALWATT_MODELS: ProviderModelConfig[] = [
70
70
  maxTokensField: "max_tokens",
71
71
  },
72
72
  },
73
+ // GLM-5.2 - ZhipuAI (test canary)
74
+ {
75
+ id: "glm-5.2",
76
+ name: "GLM-5.2",
77
+ reasoning: true,
78
+ input: ["text"],
79
+ cost: {
80
+ input: 1.45,
81
+ output: 4.5,
82
+ cacheRead: 0,
83
+ cacheWrite: 0,
84
+ },
85
+ contextWindow: 1048560,
86
+ maxTokens: 65536,
87
+ // GLM-5.2 has two native reasoning depths (high, max) plus thinking-off.
88
+ // Pi levels below high disable thinking; high -> high, xhigh -> max.
89
+ // See https://portal.neuralwatt.com/docs/api/chat-completions#reasoning-effort
90
+ thinkingLevelMap: {
91
+ minimal: null,
92
+ low: null,
93
+ medium: null,
94
+ high: "high",
95
+ xhigh: "max",
96
+ },
97
+ compat: {
98
+ supportsDeveloperRole: false,
99
+ maxTokensField: "max_tokens",
100
+ requiresReasoningContentOnAssistantMessages: true,
101
+ },
102
+ },
73
103
  // Kimi K2.5 - MoonshotAI
74
104
  {
75
105
  id: "moonshotai/Kimi-K2.5",
@@ -237,7 +267,7 @@ export const NEURALWATT_MODELS: ProviderModelConfig[] = [
237
267
  },
238
268
  // Kimi K2.7 Code - MoonshotAI
239
269
  {
240
- id: "moonshotai/Kimi-K2.7-Code",
270
+ id: "kimi-k2.7-code",
241
271
  name: "Kimi K2.7 Code",
242
272
  reasoning: true,
243
273
  input: ["text", "image"],