Pollinations - Text (#3985)

* [wip] Pollinations for text

* Implement generate API request

* Determine Pollinations model tools via models list

* Add Pollinations option to /model command

* Add Pollinations support to caption

* Update link to pollinations site

* Fix type errors in openai.js

* Fix API connection test to use AbortController for request cancellation

* Remove hard coded list of pollinations vision models

* Remove openai-audio from captioning models
This commit is contained in:
Cohee
2025-05-11 20:14:11 +03:00
committed by GitHub
parent 99e3c22311
commit 420d568cd3
13 changed files with 174 additions and 51 deletions

View File

@@ -448,7 +448,7 @@ jQuery(async function () {
}
// Custom API doesn't need additional checks
if (api === 'custom') {
if (api === 'custom' || api === 'pollinations') {
return true;
}
}