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

[RFE] Add support to more intelligently handle errors in XML, JSON, and properties files in reflection agent #552

Open
pranavgaikwad opened this issue Jan 15, 2025 · 1 comment
Assignees
Labels
agent enhancement New feature or request prompt-engineering Issues related to changes for prompts or tweaks for specific models

Comments

@pranavgaikwad
Copy link
Contributor

Currently, we only have higher intelligence (using treesitter) for Java files in reflection agent. We should add support for xml, json and properties files but the highest priority should be to pom.xml files as we are seeing more issues in pom than anything else right now.

@shawn-hurley shawn-hurley added enhancement New feature or request prompt-engineering Issues related to changes for prompts or tweaks for specific models agent labels Jan 16, 2025
@pranavgaikwad pranavgaikwad self-assigned this Jan 28, 2025
@pranavgaikwad
Copy link
Contributor Author

Here is an output from reflection agent I observed for web.xml removal:

================================== Ai Message ==================================

The updated file is incomplete. It only contains a comment and does not include the necessary XML structure or content from the original file. Please ask the junior engineer to provide a complete file.

This probably means that the agent doesn't have the correct context for the changes. We need to investigate how we can avoid this in first place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent enhancement New feature or request prompt-engineering Issues related to changes for prompts or tweaks for specific models
Projects
None yet
Development

No branches or pull requests

2 participants