Skip to content

Commit ee691da

Browse files
authored
Remove chat agent all models logic (microsoft#252459)
Remove unused chat.agent.allModels configuration. No longer useful and tends to confuse people.
1 parent 7d4aa31 commit ee691da

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/vs/workbench/contrib/chat/browser/chatInputPart.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -558,10 +558,6 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
558558
private modelSupportedForDefaultAgent(model: ILanguageModelChatMetadataAndIdentifier): boolean {
559559
// Probably this logic could live in configuration on the agent, or somewhere else, if it gets more complex
560560
if (this.currentMode === ChatMode.Agent || (this.currentMode === ChatMode.Edit && this.configurationService.getValue(ChatConfiguration.Edits2Enabled))) {
561-
if (this.configurationService.getValue('chat.agent.allModels')) {
562-
return true;
563-
}
564-
565561
const supportsToolsAgent = typeof model.metadata.capabilities?.agentMode === 'undefined' || model.metadata.capabilities.agentMode;
566562

567563
// Filter out models that don't support tool calling, and models that don't support enough context to have a good experience with the tools agent

0 commit comments

Comments
 (0)