mirror of
https://github.com/Microsoft/vscode
synced 2024-10-04 02:14:06 +00:00
parent
d7ade261f8
commit
39ae41aaec
|
@ -128,7 +128,7 @@ export class EmptyTextEditorHintContribution implements IEditorContribution {
|
|||
}
|
||||
|
||||
const hasEditorAgents = Boolean(this.chatAgentService.getDefaultAgent(ChatAgentLocation.Editor));
|
||||
const shouldRenderDefaultHint = model?.uri.scheme === Schemas.untitled && languageId === PLAINTEXT_LANGUAGE_ID && hasEditorAgents;
|
||||
const shouldRenderDefaultHint = model?.uri.scheme === Schemas.untitled && languageId === PLAINTEXT_LANGUAGE_ID;
|
||||
return hasEditorAgents || shouldRenderDefaultHint;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue