mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Pollinations: fix headers, add samplers
This commit is contained in:
@@ -148,6 +148,7 @@ router.post('/caption-image', async (request, response) => {
|
||||
}
|
||||
|
||||
if (request.body.api === 'pollinations') {
|
||||
headers = { Authorization: '' };
|
||||
apiUrl = 'https://text.pollinations.ai/openai/chat/completions';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user