-
Notifications
You must be signed in to change notification settings - Fork 326
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
refactor(Deep Cody): Agentic Context Settings into UI Component #6519
Merged
Conversation
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
- remove Deep Cody specific UI elements and functionality - default 3.5 haiku as reflection model - replace cody.agentic.context.experimentalShell user config option with UI component - deprecate cody.agentic.context.experimentalShell user config BREAKING CHANGE: Deep Cody model is no longer supported. The UI elements and functionality related to Deep Cody have been removed.
…ture flag - add FeatureFlag.ContextAgentDefaultChatModel to control whether Deep Cody should use the default chat model or 3.5 Haiku - update ToolboxManager and DeepCodyAgent to respect the new feature flag - remove unused code related to Deep Cody model selection BREAKING CHANGE: Deep Cody will now use the default chat model or 3.5 Haiku based on the new feature flag. The UI elements and functionality related to model selection have been removed.
- Modify `getAgent` function to handle DeepCodyAgent separately and fall back to ChatHandler for unknown agents - Add `modelId` parameter to `getAgent` to support different model types - Skip query rewrite for DeepCodyAgent as it will be reviewed by the agent - Optimize `ToolFactory` to only create new instances when needed
- Modify `getAgent` function to handle DeepCodyAgent separately and fall back to ChatHandler for unknown agents - Add `modelId` parameter to `getAgent` to support different model types - Skip query rewrite for DeepCodyAgent as it will be reviewed by the agent - Optimize `ToolFactory` to only create new instances when needed - Refactor `CodyToolProvider` to use a namespace-based approach - Update tests to use the new `CodyToolProvider` API
|
…raph/cody into bee/context-agent-button
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds on #6513
This PR introduces a new UI-based approach for managing Cody's agent capabilities, replacing the previous VS Code settings configuration. It also moves Deep Cody out of the model dropdown into its own Agent Settings component
Key Changes
New Agent UI Controls:
ToolboxButton
component in chat input area with:Deep Cody Architecture Improvements:
API & Type Updates:
toolboxSettings
andupdateToolboxSettings
to WebView APIAgentToolboxSettings
type to use string-based agent IDCode Organization:
CodyToolProvider
into namespace patternDefault Model
ContextAgentDefaultChatModel
feature flag is enabled on the instance, reflection model will be set to Sonnet insteadTO-DO
Test plan
Agent Controls:
Settings Management:
Chat Experience:
Settings Transition:
Changelog