Use ooba API key in multimodal request

This commit is contained in:
Cohee 2024-02-07 19:31:38 +02:00
parent c3129da879
commit 58c3d3eb7f
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ router.post('/caption-image', jsonParser, async (request, response) => {
}
if (request.body.api === 'ooba') {
key = readSecret(SECRET_KEYS.OOBA);
bodyParams.temperature = 0.1;
}