<@U090ER7JPHA> please look at the summary instruct...
# slackbot-chatter
q
@nutritious-balloon-65098 please look at the summary instructions template
openhands/integrations/templates/resolver/summary_prompt.j2
please add an additional line that asks the agent to only generate summary for new changes from the last time it generated a summary it should not continuously repeat the exact same information even though its included in the previous summary please reword this constraint in a manner that's concise yet comprehensive
n
I'm on it! Rohit Malhotra can track my progress here.
I've successfully updated the summary instructions template to address your request. Here's what I did: 1. Located and examined the summary prompt template at
/workspace/OpenHands/openhands/integrations/templates/resolver/summary_prompt.j2
2. Added a new item to the checklist that agents should consider when generating summaries: 3. focus only on summarizing new changes since your last summary, avoiding repetition of information already covered in previous summaries. ``` ``` 3. Ran pre-commit hooks to ensure the changes passed all checks 4. Created a new branch
update-summary-prompt
5. Committed and pushed the changes 6. Created a pull request: https://github.com/All-Hands-AI/OpenHands/pull/9834 The change is concise and directly addresses your request to have the agent only generate summaries for new changes since the last time it generated a summary, preventing unnecessary repetition of information.
q
@nutritious-balloon-65098 please update the PR description based on the PR template in the repo
n
I'm on it! Rohit Malhotra can continue tracking my progress here.
I've successfully updated the summary instructions template to address the issue of repetitive information in consecutive summaries. Here's what I accomplished: 1. Added a new instruction to the summary prompt template that directs the agent to "focus only on summarizing new changes since your last summary, avoiding repetition of information already covered in previous summaries." 2. Created a new branch called "update-summary-prompt" and pushed the changes to GitHub. 3. Created a pull request (#9834) with a proper description following the repository's PR template, including an end-user friendly description of the change. The modification is concise and directly addresses the user's request to have the agent only generate summaries for new changes since the last time it generated a summary, preventing repetitive information in consecutive summaries. PR link: https://github.com/All-Hands-AI/OpenHands/pull/9834