diff --git a/packages/ai-chat-ui/src/browser/chat-tree-view/chat-view-tree-widget.tsx b/packages/ai-chat-ui/src/browser/chat-tree-view/chat-view-tree-widget.tsx index 19d7daacdd9b8..668eefef7496d 100644 --- a/packages/ai-chat-ui/src/browser/chat-tree-view/chat-view-tree-widget.tsx +++ b/packages/ai-chat-ui/src/browser/chat-tree-view/chat-view-tree-widget.tsx @@ -283,6 +283,7 @@ export class ChatViewTreeWidget extends TreeWidget { toolbarContributions.length > 0 && toolbarContributions.map(action => { diff --git a/packages/ai-chat/src/common/chat-agents.ts b/packages/ai-chat/src/common/chat-agents.ts index 14ab4e3b11b31..0af01f90a8e6b 100644 --- a/packages/ai-chat/src/common/chat-agents.ts +++ b/packages/ai-chat/src/common/chat-agents.ts @@ -138,7 +138,7 @@ export abstract class AbstractChatAgent { protected defaultLanguageModelPurpose: string, public iconClass: string = 'codicon codicon-copilot', public locations: ChatAgentLocation[] = ChatAgentLocation.ALL, - public tags: String[] = ['Chat'], + public tags: string[] = ['Chat'], public defaultLogging: boolean = true) { } diff --git a/packages/ai-code-completion/src/common/code-completion-agent.ts b/packages/ai-code-completion/src/common/code-completion-agent.ts index 76d86cff04133..1fa9ceaea384a 100644 --- a/packages/ai-code-completion/src/common/code-completion-agent.ts +++ b/packages/ai-code-completion/src/common/code-completion-agent.ts @@ -157,5 +157,5 @@ Only return the exact replacement for [[MARKER]] to complete the snippet.`, { name: 'textUntilCurrentPosition', usedInPrompt: true, description: 'The code before the current position of the cursor.' }, { name: 'textAfterCurrentPosition', usedInPrompt: true, description: 'The code after the current position of the cursor.' } ]; - readonly tags?: String[] | undefined; + readonly tags?: string[] | undefined; } diff --git a/packages/ai-core/src/browser/ai-configuration/agent-configuration-widget.tsx b/packages/ai-core/src/browser/ai-configuration/agent-configuration-widget.tsx index 9a8798e584986..09639eb0a1717 100644 --- a/packages/ai-core/src/browser/ai-configuration/agent-configuration-widget.tsx +++ b/packages/ai-core/src/browser/ai-configuration/agent-configuration-widget.tsx @@ -112,7 +112,7 @@ export class AIAgentConfigurationWidget extends ReactWidget { } private renderAgentName(agent: Agent): React.ReactNode { - const tagsSuffix = agent.tags?.length ? {agent.tags.map(tag => {tag})} : ''; + const tagsSuffix = agent.tags?.length ? {agent.tags.map(tag => {tag})} : ''; return {agent.name} {tagsSuffix}; } diff --git a/packages/ai-core/src/common/agent.ts b/packages/ai-core/src/common/agent.ts index bd37c46f72cd8..80e7381360c52 100644 --- a/packages/ai-core/src/common/agent.ts +++ b/packages/ai-core/src/common/agent.ts @@ -60,7 +60,7 @@ export interface Agent { readonly languageModelRequirements: LanguageModelRequirement[]; /** A list of tags to filter agents and to display capabilities in the UI */ - readonly tags?: String[]; + readonly tags?: string[]; /** The list of local variable identifiers this agent needs to clarify its context requirements. */ readonly agentSpecificVariables: AgentSpecificVariables[];