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 +1 -1
- package/src/harness-pi.mjs +2 -1
package/package.json
CHANGED
package/src/harness-pi.mjs
CHANGED
|
@@ -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) {
|