voidrules

This commit is contained in:
Andrew Pareles 2025-04-30 22:31:06 -07:00
parent 90c1beecca
commit f0f7c57485

View file

@ -363,7 +363,7 @@ const prepareOpenAIOrAnthropicMessages = ({
// find system messages and concatenate them
const newSystemMessage = aiInstructions ?
`${(systemMessage ? `${systemMessage}\n\n` : '')}GUIDELINES\n${aiInstructions}`
`${(systemMessage ? `${systemMessage}\n\n` : '')}GUIDELINES (from the user's .voidrules file):\n${aiInstructions}`
: systemMessage
let separateSystemMessageStr: string | undefined = undefined