8000 Add handling for external settings changes by daniel-lxs · Pull Request #3942 · RooCodeInc/Roo-Code · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add handling for external settings changes #3942

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 2 commits into from
May 24, 2025

Conversation

daniel-lxs
Copy link
Collaborator
@daniel-lxs daniel-lxs commented May 24, 2025

Important

Add handling for external settings changes in code indexing, including default qdrantUrl and configuration reloads.

  • Behavior:
    • ClineProvider.ts: Notifies CodeIndexManager of external settings changes via handleExternalSettingsChange().
    • config-manager.ts: Sets default qdrantUrl to http://localhost:6333.
    • manager.ts: Adds handleExternalSettingsChange() to reload configuration on settings update.
  • UI:
    • CodeIndexSettings.tsx: Sets default codebaseIndexQdrantUrl to http://localhost:6333 if undefined.

This description was created by Ellipsis for 5a4faeb. You can customize this summary. It will automatically update as commits are pushed.

@@ -824,6 +824,11 @@ export class ClineProvider extends EventEmitter<ClineProviderEvents> implements
this.contextProxy.setProviderSettings(providerSettings),
])

// Notify CodeIndexManager about the settings change
if (this.codeIndexManager) {
await this.codeIndexManager.handleExternalSettingsChange()
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider wrapping the call to codeIndexManager.handleExternalSettingsChange() in a try/catch (or handling its errors) so that a failure in reloading configuration doesn't break the profile activation flow.

@mrubens mrubens merged commit 20e7f11 into RooCodeInc:main May 24, 2025
12 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap May 24, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap May 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants
0