mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Same changes but on staging
This commit is contained in:
@@ -332,6 +332,8 @@ async function sendMakerSuiteRequest(request, response) {
|
|||||||
temperature: request.body.temperature,
|
temperature: request.body.temperature,
|
||||||
topP: request.body.top_p,
|
topP: request.body.top_p,
|
||||||
topK: request.body.top_k || undefined,
|
topK: request.body.top_k || undefined,
|
||||||
|
responseMimeType: request.body.responseMimeType,
|
||||||
|
responseSchema: request.body.responseSchema,
|
||||||
};
|
};
|
||||||
|
|
||||||
function getGeminiBody() {
|
function getGeminiBody() {
|
||||||
@@ -365,6 +367,7 @@ async function sendMakerSuiteRequest(request, response) {
|
|||||||
contents: prompt.contents,
|
contents: prompt.contents,
|
||||||
safetySettings: safetySettings,
|
safetySettings: safetySettings,
|
||||||
generationConfig: generationConfig,
|
generationConfig: generationConfig,
|
||||||
|
tools: request.body.tools,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (should_use_system_prompt) {
|
if (should_use_system_prompt) {
|
||||||
|
Reference in New Issue
Block a user