mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Whitespace clean-up
This commit is contained in:
@@ -309,7 +309,7 @@ async function sendMakerSuiteRequest(request, response) {
|
||||
|
||||
const prompt = convertGooglePrompt(request.body.messages, model, should_use_system_prompt, getPromptNames(request));
|
||||
let safetySettings = GEMINI_SAFETY;
|
||||
|
||||
|
||||
if (model.includes('gemini-2.0-flash-exp')) {
|
||||
safetySettings = GEMINI_SAFETY.map(setting => ({ ...setting, threshold: 'OFF' }));
|
||||
}
|
||||
@@ -320,7 +320,6 @@ async function sendMakerSuiteRequest(request, response) {
|
||||
generationConfig: generationConfig,
|
||||
};
|
||||
|
||||
|
||||
if (should_use_system_prompt) {
|
||||
body.system_instruction = prompt.system_instruction;
|
||||
}
|
||||
|
Reference in New Issue
Block a user