mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
cleanup
This commit is contained in:
@ -276,7 +276,7 @@ function convertGooglePrompt(messages, model, useSysPrompt = false) {
|
||||
}
|
||||
}
|
||||
|
||||
const system_instruction = { parts: { text: sys_prompt }};
|
||||
const system_instruction = { parts: { text: sys_prompt.trim() }};
|
||||
|
||||
const contents = [];
|
||||
messages.forEach((message, index) => {
|
||||
|
Reference in New Issue
Block a user