Skip to content

Commit 6a9e52e

Browse files
author
Loïc Mangeonjean
committed
fix: replace some unsupported by empty implementation
1 parent 43a148e commit 6a9e52e

1 file changed

Lines changed: 7 additions & 14 deletions

File tree

src/missing-services.ts

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3300,29 +3300,24 @@ class QuickChatAgentService implements IChatAgentService {
33003300
@Unsupported
33013301
registerChatParticipantDetectionProvider: IChatAgentService['registerChatParticipantDetectionProvider'] =
33023302
unsupported
3303-
@Unsupported
3304-
detectAgentOrCommand: IChatAgentService['detectAgentOrCommand'] = unsupported
3303+
detectAgentOrCommand: IChatAgentService['detectAgentOrCommand'] = async () => undefined
33053304
hasChatParticipantDetectionProviders: IChatAgentService['hasChatParticipantDetectionProviders'] =
33063305
() => false
3307-
@Unsupported
3308-
getChatTitle: IChatAgentService['getChatTitle'] = unsupported
3306+
getChatTitle: IChatAgentService['getChatTitle'] = async () => undefined
33093307
agentHasDupeName: IChatAgentService['agentHasDupeName'] = () => false
33103308
@Unsupported
33113309
registerAgentCompletionProvider: IChatAgentService['registerAgentCompletionProvider'] =
33123310
unsupported
3313-
@Unsupported
3314-
getAgentCompletionItems: IChatAgentService['getAgentCompletionItems'] = unsupported
3315-
@Unsupported
3316-
getAgentByFullyQualifiedId: IChatAgentService['getAgentByFullyQualifiedId'] = unsupported
3311+
getAgentCompletionItems: IChatAgentService['getAgentCompletionItems'] = async () => []
3312+
getAgentByFullyQualifiedId: IChatAgentService['getAgentByFullyQualifiedId'] = () => undefined
33173313
getContributedDefaultAgent: IChatAgentService['getContributedDefaultAgent'] = () => undefined
33183314
@Unsupported
33193315
registerAgentImplementation: IChatAgentService['registerAgentImplementation'] = unsupported
33203316
@Unsupported
33213317
registerDynamicAgent: IChatAgentService['registerDynamicAgent'] = unsupported
33223318
getActivatedAgents: IChatAgentService['getActivatedAgents'] = () => []
33233319
getAgentsByName: IChatAgentService['getAgentsByName'] = () => []
3324-
@Unsupported
3325-
getFollowups: IChatAgentService['getFollowups'] = unsupported
3320+
getFollowups: IChatAgentService['getFollowups'] = async () => []
33263321
getDefaultAgent: IChatAgentService['getDefaultAgent'] = () => undefined
33273322
@Unsupported
33283323
updateAgent: IChatAgentService['updateAgent'] = unsupported
@@ -3331,10 +3326,8 @@ class QuickChatAgentService implements IChatAgentService {
33313326
registerAgent: IChatAgentService['registerAgent'] = unsupported
33323327
@Unsupported
33333328
invokeAgent: IChatAgentService['invokeAgent'] = unsupported
3334-
@Unsupported
3335-
getAgents: IChatAgentService['getAgents'] = unsupported
3336-
@Unsupported
3337-
getAgent: IChatAgentService['getAgent'] = unsupported
3329+
getAgents: IChatAgentService['getAgents'] = () => []
3330+
getAgent: IChatAgentService['getAgent'] = () => undefined
33383331

33393332
getChatSummary: IChatAgentService['getChatSummary'] = async () => undefined
33403333
@Unsupported

0 commit comments

Comments
 (0)