mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix functionResponse part merging
This commit is contained in:
@@ -507,7 +507,7 @@ export function convertGooglePrompt(messages, model, useSysPrompt, names) {
|
||||
if (part.text) {
|
||||
contents[contents.length - 1].parts[0].text += '\n\n' + part.text;
|
||||
}
|
||||
if (part.inlineData || part.functionCall) {
|
||||
if (part.inlineData || part.functionCall || part.functionResponse) {
|
||||
contents[contents.length - 1].parts.push(part);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user