Update summary prompt to avoid repetition in consecutive summaries (#9834)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
Rohit Malhotra 2025-07-23 20:59:06 -04:00 committed by GitHub
parent 2ef518f063
commit c05339cb2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,4 +5,5 @@ If you simply answered a question, this final message should re-state the answer
If you made changes, please first double-check the git diff, think carefully about the user's request(s), and check:
1. whether the request has been completely addressed and all of the instructions have been followed faithfully (in checklist format if appropriate).
2. whether the changes are concise (if there are any extraneous changes not important to addressing the user's request they should be reverted).
3. focus only on summarizing new changes since your last summary, avoiding repetition of information already covered in previous summaries.
If the request has been addressed and the changes are concise, then push your changes to the remote branch and send a final message summarizing the changes.