opencode-pollinations-plugin 5.8.4-beta.12 → 5.8.4-beta.14

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.
@@ -263,8 +263,10 @@ function mapModel(raw, prefix, namePrefix, nameSuffix = '') {
263
263
  if (rawId.includes('nomnom') || rawId.includes('scrape')) {
264
264
  modelObj.limit = { output: 2048, context: 32768 };
265
265
  }
266
- if (rawId.includes('chicky')) {
267
- modelObj.limit = { output: 8192, context: 8192 };
266
+ if (rawId.includes('chicky') || rawId.includes('mistral')) {
267
+ modelObj.limit = { output: 4096, context: 8192 };
268
+ modelObj.options = { ...modelObj.options, maxTokens: 4096 };
269
+ log(`[LimitConfig] Applied strict limit to ${fullId}: output=4096, context=8192`);
268
270
  }
269
271
  /*
270
272
  if (rawId.includes('fast') || rawId.includes('flash')) {
@@ -274,5 +276,9 @@ function mapModel(raw, prefix, namePrefix, nameSuffix = '') {
274
276
  }
275
277
  */
276
278
  }
279
+ // DEBUG LIMITS
280
+ if (modelObj.limit) {
281
+ log(`[Model] ${modelObj.id} Limit: ${JSON.stringify(modelObj.limit)}`);
282
+ }
277
283
  return modelObj;
278
284
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "opencode-pollinations-plugin",
3
3
  "displayName": "Pollinations AI (V5.6)",
4
- "version": "5.8.4-beta.12",
4
+ "version": "5.8.4-beta.14",
5
5
  "description": "Native Pollinations.ai Provider Plugin for OpenCode",
6
6
  "publisher": "pollinations",
7
7
  "repository": {