opencode-pollinations-plugin 5.8.4-beta.10 → 5.8.4-beta.11

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -99,10 +99,12 @@ export const PollinationsPlugin = async (ctx) => {
99
99
  // Dynamic Provider Name
100
100
  const version = require('../package.json').version;
101
101
  config.provider['pollinations'] = {
102
- id: 'pollinations',
103
- npm: require('../package.json').name,
102
+ id: 'openai',
104
103
  name: `Pollinations AI (v${version})`,
105
- options: { baseURL: localBaseUrl },
104
+ options: {
105
+ baseURL: localBaseUrl,
106
+ apiKey: 'dummy-key', // Required by OpenAI provider
107
+ },
106
108
  models: modelsObj
107
109
  };
108
110
  log(`[Hook] Registered ${Object.keys(modelsObj).length} models.`);
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.10",
4
+ "version": "5.8.4-beta.11",
5
5
  "description": "Native Pollinations.ai Provider Plugin for OpenCode",
6
6
  "publisher": "pollinations",
7
7
  "repository": {