Fix user rules ignored by agent (#29754)
Closes #29753 The template contains an error: `has_default_user_rules` is always undefined and should be `has_user_rules` instead. Release Notes: - Fixed default user rules ignored during prompt building.
This commit is contained in:
parent
39dd133b1c
commit
50ec26c163
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ Otherwise, follow debugging best practices:
|
|||
Operating System: {{os}}
|
||||
Default Shell: {{shell}}
|
||||
|
||||
{{#if (or has_rules has_default_user_rules)}}
|
||||
{{#if (or has_rules has_user_rules)}}
|
||||
## User's Custom Instructions
|
||||
|
||||
The following additional instructions are provided by the user, and should be followed to the best of your ability without interfering with the tool use guidelines.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue