File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
src/vs/workbench/contrib/chat/browser Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -558,10 +558,6 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
558
558
private modelSupportedForDefaultAgent ( model : ILanguageModelChatMetadataAndIdentifier ) : boolean {
559
559
// Probably this logic could live in configuration on the agent, or somewhere else, if it gets more complex
560
560
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
-
565
561
const supportsToolsAgent = typeof model . metadata . capabilities ?. agentMode === 'undefined' || model . metadata . capabilities . agentMode ;
566
562
567
563
// 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
You can’t perform that action at this time.
0 commit comments