@aliou/pi-synthetic 0.6.1 → 0.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aliou/pi-synthetic",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "private": false,
@@ -21,6 +21,7 @@ export function registerSyntheticProvider(pi: ExtensionAPI): void {
21
21
  compat: {
22
22
  supportsDeveloperRole: false,
23
23
  maxTokensField: "max_tokens",
24
+ ...model.compat,
24
25
  },
25
26
  })),
26
27
  });
@@ -44,7 +44,7 @@ export const SYNTHETIC_MODELS: SyntheticModelConfig[] = [
44
44
  {
45
45
  id: "hf:zai-org/GLM-4.7-Flash",
46
46
  name: "zai-org/GLM-4.7-Flash",
47
- reasoning: false,
47
+ reasoning: true,
48
48
  input: ["text"],
49
49
  cost: {
50
50
  input: 0.06,
@@ -264,5 +264,9 @@ export const SYNTHETIC_MODELS: SyntheticModelConfig[] = [
264
264
  },
265
265
  contextWindow: 191488,
266
266
  maxTokens: 65536,
267
+ compat: {
268
+ supportsReasoningEffort: true,
269
+ maxTokensField: "max_completion_tokens",
270
+ },
267
271
  },
268
272
  ];