diff --git a/packages/ai-native/src/browser/widget/inline-chat/inline-chat.handler.ts b/packages/ai-native/src/browser/widget/inline-chat/inline-chat.handler.ts index 237c549c80..fdbee86589 100644 --- a/packages/ai-native/src/browser/widget/inline-chat/inline-chat.handler.ts +++ b/packages/ai-native/src/browser/widget/inline-chat/inline-chat.handler.ts @@ -249,7 +249,7 @@ export class InlineChatHandler extends Disposable { type: AISerivceType.InlineChat, source, runByCodeAction: source === 'codeAction', - actionSource: ActionSourceEnum.InlineChat, + actionSource: source === 'codeAction' ? ActionSourceEnum.CodeAction : ActionSourceEnum.InlineChat, actionType: action.name, }); return relationId;