opencode-pollinations-plugin 5.8.4-beta.3 → 5.8.4-beta.4
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.
|
@@ -176,6 +176,18 @@ export async function generatePollinationsConfig(forceApiKey, forceStrict = fals
|
|
|
176
176
|
enterList.forEach((m) => {
|
|
177
177
|
if (m.tools === false)
|
|
178
178
|
return;
|
|
179
|
+
// FIX: ChickyTutor (Bedrock) crashes with tools due to missing toolConfig.
|
|
180
|
+
// Force disable tools to match Free behavior and ensure stability.
|
|
181
|
+
if ((m.id || m.name).includes('chickytutor')) {
|
|
182
|
+
// m.tools = false; // We can't mutate m effectively if we want to filter?
|
|
183
|
+
// No, simply map it but strip tools capability in mapModel?
|
|
184
|
+
// mapModel reads raw.tools to set capability icon.
|
|
185
|
+
// But OpenCode decides to send tools based on ???
|
|
186
|
+
// OpenCode reads the 'modalities' or expects 'tools' option?
|
|
187
|
+
// Let's just NOT push it here if we filter by tools, but wait, we want CHAT.
|
|
188
|
+
// So we allow it, but we hack mapModel to NOT advertise tools?
|
|
189
|
+
m.tools = false;
|
|
190
|
+
}
|
|
179
191
|
const mapped = mapModel(m, 'enter/', '[Enter] ');
|
|
180
192
|
modelsOutput.push(mapped);
|
|
181
193
|
});
|
package/package.json
CHANGED