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

Improve history passed to agents via background() #629

Open
pranavgaikwad opened this issue Feb 6, 2025 · 0 comments
Open

Improve history passed to agents via background() #629

pranavgaikwad opened this issue Feb 6, 2025 · 0 comments
Labels
agent priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. prompt-engineering Issues related to changes for prompts or tweaks for specific models
Milestone

Comments

@pranavgaikwad
Copy link
Contributor

pranavgaikwad commented Feb 6, 2025

I had to limit how much history we are passing because I was seeing instances where the reasoning created by previous agent was confusing other agents more than it was helping. For instance, sometimes the analyzer fix agent, when making a javax to jakarta fix can produce something like "You need add the jakarta dependency to the pom for this to work" in its reasoning. Now if this history is passed all the way down to a dependency or maven compiler fix agent that is working on a SymbolNotFound error which has nothing to do with the jakarta dependency, it confuses the agent. I think the best way to solve this problem would be to summarize each step taken along the way and update the previous history to prune irrelevant stuff. For instance, for the example I stated earlier, the history would look something like: We fixed the import. That lead to a PackageNotFoundError. But then that is causing SymbolNotFound error that is unrelated.

@pranavgaikwad pranavgaikwad added priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. prompt-engineering Issues related to changes for prompts or tweaks for specific models agent labels Feb 6, 2025
@fabianvf fabianvf added this to the v0.1.0 milestone Feb 18, 2025
@fabianvf fabianvf modified the milestones: v0.1.0, v0.2.0 Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. prompt-engineering Issues related to changes for prompts or tweaks for specific models
Projects
Status: No status
Development

No branches or pull requests

2 participants