Skip to content

Commit 73579dc

Browse files
committed
Fix
1 parent 1a83e48 commit 73579dc

File tree

6 files changed

+8
-3
lines changed

6 files changed

+8
-3
lines changed

src/vs/workbench/contrib/chat/test/common/chatRequestParser.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ suite('ChatRequestParser', () => {
115115
});
116116

117117
const getAgentWithSlashCommands = (slashCommands: IChatAgentCommand[]) => {
118-
return { id: 'agent', name: 'agent', extensionId: nullExtensionDescription.identifier, extensionPublisher: '', locations: [ChatAgentLocation.Panel], metadata: {}, slashCommands } satisfies IChatAgentData;
118+
return { id: 'agent', name: 'agent', extensionId: nullExtensionDescription.identifier, extensionPublisher: '', extensionDisplayName: '', locations: [ChatAgentLocation.Panel], metadata: {}, slashCommands } satisfies IChatAgentData;
119119
};
120120

121121
test('agent with subcommand after text', async () => {

src/vs/workbench/contrib/chat/test/common/chatService.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const chatAgentWithUsedContext: IChatAgent = {
3636
name: chatAgentWithUsedContextId,
3737
extensionId: nullExtensionDescription.identifier,
3838
extensionPublisher: '',
39+
extensionDisplayName: '',
3940
locations: [ChatAgentLocation.Panel],
4041
metadata: {},
4142
slashCommands: [],
@@ -90,8 +91,8 @@ suite('ChatService', () => {
9091
return {};
9192
},
9293
} satisfies IChatAgentImplementation;
93-
testDisposables.add(chatAgentService.registerAgent('testAgent', { name: 'testAgent', id: 'testAgent', isDefault: true, extensionId: nullExtensionDescription.identifier, extensionPublisher: '', locations: [ChatAgentLocation.Panel], metadata: {}, slashCommands: [] }));
94-
testDisposables.add(chatAgentService.registerAgent(chatAgentWithUsedContextId, { name: chatAgentWithUsedContextId, id: chatAgentWithUsedContextId, extensionId: nullExtensionDescription.identifier, extensionPublisher: '', locations: [ChatAgentLocation.Panel], metadata: {}, slashCommands: [] }));
94+
testDisposables.add(chatAgentService.registerAgent('testAgent', { name: 'testAgent', id: 'testAgent', isDefault: true, extensionId: nullExtensionDescription.identifier, extensionPublisher: '', extensionDisplayName: '', locations: [ChatAgentLocation.Panel], metadata: {}, slashCommands: [] }));
95+
testDisposables.add(chatAgentService.registerAgent(chatAgentWithUsedContextId, { name: chatAgentWithUsedContextId, id: chatAgentWithUsedContextId, extensionId: nullExtensionDescription.identifier, extensionPublisher: '', extensionDisplayName: '', locations: [ChatAgentLocation.Panel], metadata: {}, slashCommands: [] }));
9596
testDisposables.add(chatAgentService.registerAgentImplementation('testAgent', agent));
9697
chatAgentService.updateAgent('testAgent', { requester: { name: 'test' }, fullName: 'test' });
9798
});

src/vs/workbench/contrib/chat/test/common/voiceChat.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ suite('VoiceChat', () => {
2828

2929
extensionId: ExtensionIdentifier = nullExtensionDescription.identifier;
3030
extensionPublisher = '';
31+
extensionDisplayName = '';
3132
locations: ChatAgentLocation[] = [ChatAgentLocation.Panel];
3233
public readonly name: string;
3334
constructor(readonly id: string, readonly slashCommands: IChatAgentCommand[]) {

src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ export class InlineChatSessionServiceImpl implements IInlineChatSessionService {
318318
name: 'editor',
319319
extensionId: nullExtensionDescription.identifier,
320320
extensionPublisher: '',
321+
extensionDisplayName: '',
321322
isDefault: true,
322323
locations: [ChatAgentLocation.Editor],
323324
get slashCommands(): IChatAgentCommand[] {

src/vs/workbench/contrib/inlineChat/test/browser/inlineChatController.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ suite('InteractiveChatController', function () {
181181
store.add(chatAgentService.registerDynamicAgent({
182182
extensionId: nullExtensionDescription.identifier,
183183
extensionPublisher: '',
184+
extensionDisplayName: '',
184185
id: 'testAgent',
185186
name: 'testAgent',
186187
isDefault: true,

src/vs/workbench/contrib/inlineChat/test/browser/inlineChatSession.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ suite('InlineChatSession', function () {
128128
instaService.get(IChatAgentService).registerDynamicAgent({
129129
extensionId: nullExtensionDescription.identifier,
130130
extensionPublisher: '',
131+
extensionDisplayName: '',
131132
id: 'testAgent',
132133
name: 'testAgent',
133134
isDefault: true,

0 commit comments

Comments
 (0)