Claude: fix prefills
| @@ -229,7 +229,7 @@ function convertClaudeMessages(messages, prefillString, useSysPrompt, humanMsgFi | ||
| 229 | 229 | messages.push({ |
| 230 | 230 | role: 'assistant', |
| 231 | 231 | // Dangling whitespace are not allowed for prefilling |
| 232 | 232 | content: [{ type: 'text', text: prefillString.trimEnd() }], |
| 233 | 233 | }); |
| 234 | 234 | } |
| 235 | 235 | |