mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Use ooba API key in multimodal request
This commit is contained in:
@@ -33,6 +33,7 @@ router.post('/caption-image', jsonParser, async (request, response) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (request.body.api === 'ooba') {
|
if (request.body.api === 'ooba') {
|
||||||
|
key = readSecret(SECRET_KEYS.OOBA);
|
||||||
bodyParams.temperature = 0.1;
|
bodyParams.temperature = 0.1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user