offgrid-ai 0.11.3 → 0.12.1

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": "offgrid-ai",
3
- "version": "0.11.3",
3
+ "version": "0.12.1",
4
4
  "description": "Privacy-first CLI for running local LLMs — discover, configure, run, benchmark",
5
5
  "author": "Eeshan Srivastava (https://eeshans.com)",
6
6
  "type": "module",
@@ -104,6 +104,7 @@ function piModelConfig(profile) {
104
104
  id: piApiModelId(profile),
105
105
  name: profile.label,
106
106
  input: modelInput(profile),
107
+ maxTokens: 16384,
107
108
  ...(reasoning === undefined ? {} : { reasoning }),
108
109
  ...(compat ? { compat } : {}),
109
110
  ...(profile.flags?.ctxSize ? { contextWindow: profile.flags.ctxSize } : {}),
@@ -142,7 +143,7 @@ function piApiKey() {
142
143
  }
143
144
 
144
145
  function providerCompat() {
145
- return { supportsDeveloperRole: false, supportsReasoningEffort: false };
146
+ return { supportsDeveloperRole: false, supportsReasoningEffort: false, maxTokensField: "max_tokens" };
146
147
  }
147
148
 
148
149
  function runForeground(cmd, argv) {