-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport M72] fix(agentic chat): terminal and openCtx are not regist…
…ered as tools (#7133) CLOSE https://linear.app/sourcegraph/issue/CODY-5063 Regression caused by #6909 The PR has moved the openCtx controller to be initialized before CodyToolProvider is initialized, causing the current logic to set up openctx provider listeners to fail. This PR fixes the issue: Move the OpenCtx provider listener setup from the controller initialization to the CodyToolProvider initialization to ensure proper setup timing and avoid circular dependencies. ## Test plan - Verify OpenCtx provider listener is properly initialized when CodyToolProvider is initialized - Confirm no functionality changes in OpenCtx controller behavior - Ensure existing OpenCtx features continue to work as expected Ask Cody `summarize my staged changes using the CLI tool` in agentic chat Before:  After:  <br> Backport 3e79608 from #7130 Co-authored-by: Beatrix <[email protected]>
- Loading branch information
1 parent
d6a8cfa
commit 58372b0
Showing
3 changed files
with
8 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters