Skip to content

fix: add workspace folders as context for agentic-chat #995

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

Merged
merged 5 commits into from
Apr 19, 2025

Conversation

Hweinstock
Copy link
Contributor

@Hweinstock Hweinstock commented Apr 18, 2025

Problem

Moved from #987.

Q doesn't know what the workspace folder path is. When I ask it "what is the path to my workspace" it tries to use a few tools, then fails, then tries to find from the root directory, which takes a very long time and basically forces the user to delete the tab.

This works on the VSC implementation. This is affecting how tools are used.

Solution

  • Ensure it is passed as context similar to how agentic-chat feature branch does it

Verification and Testing

  • added a unit test
  • can be verified end-to-end with the following prompt:
image

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Hweinstock Hweinstock marked this pull request as ready for review April 18, 2025 17:21
@Hweinstock Hweinstock requested a review from a team as a code owner April 18, 2025 17:21
@zixlin7 zixlin7 merged commit f300ca5 into aws:main Apr 19, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants