mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-20 22:20:39 +01:00
have to put something in here, claude doesn't like empty messages
This commit is contained in:
parent
b6897af364
commit
94beaaa581
@ -96,7 +96,7 @@ function convertClaudeMessages(messages, prefillString, useSysPrompt, humanMsgFi
|
||||
if (messages.length > 0 && messages[0].role !== 'user') {
|
||||
messages.unshift({
|
||||
role: 'user',
|
||||
content: humanMsgFix || '',
|
||||
content: humanMsgFix || '[Start a new chat]',
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user