From 1197c3ac2b72a891473fed54111459a5a565d848 Mon Sep 17 00:00:00 2001 From: John Date: Fri, 11 Oct 2024 11:43:14 +0800 Subject: [PATCH] fix: inline diff interactive input invalid (#4080) --- .../widget/inline-chat/inline-chat-editor.controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ai-native/src/browser/widget/inline-chat/inline-chat-editor.controller.ts b/packages/ai-native/src/browser/widget/inline-chat/inline-chat-editor.controller.ts index 14bafd8247..3d57a1ea67 100644 --- a/packages/ai-native/src/browser/widget/inline-chat/inline-chat-editor.controller.ts +++ b/packages/ai-native/src/browser/widget/inline-chat/inline-chat-editor.controller.ts @@ -1,4 +1,4 @@ -import { AINativeConfigService, PreferenceService } from '@opensumi/ide-core-browser'; +import { AINativeConfigService, IAIInlineChatService, PreferenceService } from '@opensumi/ide-core-browser'; import { Disposable, IDisposable } from '@opensumi/ide-core-common'; import { AIInlineChatContentWidgetId, @@ -46,7 +46,7 @@ export class InlineChatEditorController extends BaseAIMonacoEditorController { } private get aiInlineChatService(): AIInlineChatService { - return this.injector.get(AIInlineChatService); + return this.injector.get(IAIInlineChatService); } private get inlineChatFeatureRegistry(): InlineChatFeatureRegistry {