fix gemini system prompt

ec02547b0ef077ae68421e87a60e989dca22bd1e

Ecalose <47114714+Ecalose@users.noreply.github.com>

Signed
1 files changed, +1 -1Showing whitespace changes
src/prompt-converters.js+1 -1
@@ -412,7 +412,7 @@ export function convertGooglePrompt(messages, model, useSysPrompt, names) {
412 }412 }
413 }413 }
414414
415 const system_instruction = { parts: { text: sys_prompt.trim() } };415 const system_instruction = { parts: [{ text: sys_prompt.trim() }]};
416 const toolNameMap = {};416 const toolNameMap = {};
417417
418 const contents = [];418 const contents = [];