Skip to content

Commit 8594746

Browse files
committed
chore: import
1 parent 0b7e003 commit 8594746

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/ai-native/src/common/prompts/context-prompt-provider.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Autowired, Injectable } from '@opensumi/di';
2-
import { WorkbenchEditorService } from '@opensumi/ide-editor/lib/browser/types';
2+
import { WorkbenchEditorService } from '@opensumi/ide-editor/lib/common/editor';
33

44
import { SerializedContext } from '../llm-context';
55

@@ -21,7 +21,6 @@ export class DefaultChatAgentPromptProvider implements ChatAgentPromptProvider {
2121
provideContextPrompt(context: SerializedContext, userMessage: string): string {
2222
const editor = this.workbenchEditorService.currentEditor;
2323
const currentModel = editor?.currentDocumentModel;
24-
currentModel
2524
return `
2625
<additional_data>
2726
Below are some potentially helpful/relevant pieces of information for figuring out to respond

0 commit comments

Comments
 (0)