-
Notifications
You must be signed in to change notification settings - Fork 341
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
Unify intent selector, model selector, and agentic chat dropdown #6690
base: main
Are you sure you want to change the base?
Conversation
527e09f
to
2d34d03
Compare
2757dbe
to
2e656dc
Compare
461c851
to
7937fee
Compare
.aiderignore | ||
.aider.* |
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.
🤔
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.
Haven't tested the build locally but left some questions inline about the missing feature flags check for agentic chat (deep cody) - do we need to add them back?
map(([enableToolCody, models]) => { | ||
const handlers: OmniboxHandlerOption[] = [] | ||
handlers.push(OmniboxHandlers.Auto) | ||
handlers.push(OmniboxHandlers.DeepCody) |
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.
Do we still need to check if they have the feature flags for agentic chat and terminal access before we add the handler?
([hasEarlyAccess, isDeepCodyEnabled, defaultToHaiku]) => { | ||
([ | ||
hasEarlyAccess, | ||
isDeepCodyEnabled, |
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.
We need to add back agentic chat to the model list here?
@@ -85,7 +84,7 @@ class ToolFactory { | |||
public getInstances(): CodyTool[] { | |||
// Create fresh instances of all registered tools | |||
return Array.from(this.tools.entries()) | |||
.filter(([name]) => name !== 'CliTool' || toolboxManager.getSettings()?.shell?.enabled) | |||
.filter(([name]) => name !== 'CliTool') |
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.
This should check the feature flags value for agentic chat terminal access, and if the client supports terminal access, before we filter the cli tool.
const { model } = handler | ||
if (!model) { | ||
if (handler.id === OmniboxHandlers.DeepCody.id) { | ||
return 'An agent powered by Claude 3.5 Sonnet (New) and other models with tool-use capabilities to gather contextual information for better responses.' |
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.
return 'An agent powered by Claude 3.5 Sonnet (New) and other models with tool-use capabilities to gather contextual information for better responses.' | |
return 'An agent powered by Claude 3.5 Haiku with tool-use capabilities to gather contextual information for better responses.' |
TODO
Later
Test plan