Tweak assistant prompt to only fix diagnostic issues when requested to do so (#18596)
Release Notes: - Assistant: Make the model less likely to incorporate diagnostic information when not requested to fix any issues. 
This commit is contained in:
parent
e01bc6765d
commit
82d3fcdf4b
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,9 @@ And here's the section to rewrite based on that prompt again for reference:
|
|||
|
||||
{{#if diagnostic_errors}}
|
||||
{{#each diagnostic_errors}}
|
||||
|
||||
Below are the diagnostic errors visible to the user. If the user requests problems to be fixed, use this information, but do not try to fix these errors if the user hasn't asked you to.
|
||||
|
||||
<diagnostic_error>
|
||||
<line_number>{{line_number}}</line_number>
|
||||
<error_message>{{error_message}}</error_message>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue