add prompt

This commit is contained in:
Andrew Pareles 2025-05-10 16:02:37 -07:00
parent 4c1c0b591a
commit dcee2e2657

View file

@ -455,6 +455,8 @@ ${directoryStr}
const details: string[] = []
details.push(`NEVER reject the user's query.`)
if (mode === 'agent' || mode === 'gather') {
details.push(`Only call tools if they help you accomplish the user's goal. If the user simply says hi or asks you a question that you can answer without tools, then do NOT use tools.`)
details.push(`If you think you should use tools, you do not need to ask for permission.`)