-
Couldn't load subscription status.
- Fork 2.3k
fix: Use workspacePath from instance if available in CodeIndexManager and QdrantVectorStore #6901
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
fix: Use workspacePath from instance if available in CodeIndexManager and QdrantVectorStore #6901
Conversation
… and QdrantVectorStore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution! I've reviewed the changes to improve multi-folder workspace support. While the approach of using instance-specific workspace paths is good, I found some critical issues that need attention before merging.
|
merge into #6904 |
#6897
In multi-folder workspaces, mimic the history and index status, binding the dialog to the CWD when creating a new ChatView. This will prevent CWD switching during a conversation and further confusion.
Important
Use instance-specific
workspacePathinCodeIndexManagerandQdrantVectorStoreto ensure consistent workspace handling.CodeIndexManager, usethis.workspacePathif available instead ofgetWorkspacePath()ininitialize()and_recreateServices().QdrantVectorStore, usethis.workspaceRootif available instead ofgetWorkspacePath()indeletePointsByMultipleFilePaths().workspaceRootproperty toQdrantVectorStoreto store the workspace path.This description was created by
for 58b0b64. You can customize this summary. It will automatically update as commits are pushed.