[Bug]: repo.md missing from the prompt
Is there an existing issue for the same bug?
- [x] I have checked the existing issues.
Describe the bug and reproduction steps
In this trajectory, I tried to ask the LLM to tell me if it got the repo.md info in the prompt, and I'm ready to believe it when it says it didn't: 😅
Gemini with selected repo
The trajectory seems to show that the session was reloaded before starting to talk to the LLM, and I think that was the case indeed.
Maybe we only include it at the first load?
Edited: it's supposed to be included at a regular restore, from refresh and from home page -> jump.
OpenHands Installation
app.all-hands.dev
It loses it from the prompt after a runtime error. Strange looking trajectory:
After this, it doesn't have repo.md in the prompt: example trajectory
I think events actually won't keep track of those prompt extensions, which make things much harder to debug. I'm asking OpenHands to work on this (https://github.com/All-Hands-AI/OpenHands/pull/6526) - hopefully it can make things more transparent
Ahh yeah interesting, that's a good point Xingyao
I guess we should modify the MessageAction instead of modifying the LLM user message?