mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fix gemini system prompt
This commit is contained in:
@ -412,7 +412,7 @@ export function convertGooglePrompt(messages, model, useSysPrompt, names) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const system_instruction = { parts: { text: sys_prompt.trim() } };
|
const system_instruction = { parts: [{ text: sys_prompt.trim() }]};
|
||||||
const toolNameMap = {};
|
const toolNameMap = {};
|
||||||
|
|
||||||
const contents = [];
|
const contents = [];
|
||||||
|
Reference in New Issue
Block a user