mirror of
https://github.com/voideditor/void
synced 2026-05-23 17:38:23 +00:00
add prompt
This commit is contained in:
parent
4c1c0b591a
commit
dcee2e2657
1 changed files with 2 additions and 0 deletions
|
|
@ -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.`)
|
||||
|
|
|
|||
Loading…
Reference in a new issue