Skip to content

fix: add workspace folder paths to model context. #987

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

Closed
wants to merge 3 commits into from

Conversation

Hweinstock
Copy link
Contributor

@Hweinstock Hweinstock commented Apr 17, 2025

TODO: update failing tests.

Problem

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 is where the problem originates.

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

Solution

Verification and Testing

  • added a unit test
  • can be verified end-to-end with the following prompt:
image
  • Before you'd get something like:
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 changed the title Fix/workspace path missing fix: add workspace folders to model context. Apr 17, 2025
@Hweinstock
Copy link
Contributor Author

Moved to #995

@Hweinstock Hweinstock closed this Apr 18, 2025
@Hweinstock Hweinstock deleted the fix/workspacePathMissing branch April 18, 2025 16:52
@Hweinstock Hweinstock changed the title fix: add workspace folders to model context. fix: add workspace folder paths to model context. Apr 18, 2025
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.

1 participant