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

Dependency agent starts with a wrong dependency for fqdn search that leads to either issue not being resolved or excessive dependency tasks #634

Open
pranavgaikwad opened this issue Feb 7, 2025 · 0 comments
Labels
agent enhancement New feature or request 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

Comments

@pranavgaikwad
Copy link
Contributor

Sometimes the dependency agent cannot come up with a correct fqdn to search for. See this example, when analysis agent adds an import:

import io.smallrye.reactive.messaging.annotations.Blocking

The dependency agent sometimes makes the search for artifact ID that does not exist. Then we can't do much after this point as the agent started off with the wrong artifact. This leads to issue not being fixed at all and/or multiple calls.

In order to truly solve this, we have to augment that initial suggestion by the model for a given group and artifact. AFAIK we can do this several ways - making a search on javadoc and/or maven for full import hoping that we will find several matches, doing a generic google search, augment the rule to hint possible options to choose from for a given target technology.

@pranavgaikwad pranavgaikwad added agent enhancement New feature or request 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 labels Feb 7, 2025
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 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
None yet
Development

No branches or pull requests

1 participant