Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: repo.md missing from the prompt #6535

Open
1 task done
enyst opened this issue Jan 29, 2025 · 2 comments
Open
1 task done

[Bug]: repo.md missing from the prompt #6535

enyst opened this issue Jan 29, 2025 · 2 comments
Labels
bug Something isn't working microagents Related to microagents

Comments

@enyst
Copy link
Collaborator

enyst commented Jan 29, 2025

Is there an existing issue for the same bug?

  • 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 included at a regular restore, from refresh and from home page -> jump.

OpenHands Installation

app.all-hands.dev

@enyst enyst added the bug Something isn't working label Jan 29, 2025
@enyst
Copy link
Collaborator Author

enyst commented Jan 30, 2025

It loses it from the prompt after a runtime error. Strange looking trajectory:

Image

After this, it doesn't have repo.md in the prompt: example trajectory

Image

@mamoodi mamoodi added the microagents Related to microagents label Jan 30, 2025
@xingyaoww
Copy link
Collaborator

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 (#6526) - hopefully it can make things more transparent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working microagents Related to microagents
Projects
None yet
Development

No branches or pull requests

3 participants