We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b7e003 commit 8594746Copy full SHA for 8594746
1 file changed
packages/ai-native/src/common/prompts/context-prompt-provider.ts
@@ -1,5 +1,5 @@
1
import { Autowired, Injectable } from '@opensumi/di';
2
-import { WorkbenchEditorService } from '@opensumi/ide-editor/lib/browser/types';
+import { WorkbenchEditorService } from '@opensumi/ide-editor/lib/common/editor';
3
4
import { SerializedContext } from '../llm-context';
5
@@ -21,7 +21,6 @@ export class DefaultChatAgentPromptProvider implements ChatAgentPromptProvider {
21
provideContextPrompt(context: SerializedContext, userMessage: string): string {
22
const editor = this.workbenchEditorService.currentEditor;
23
const currentModel = editor?.currentDocumentModel;
24
- currentModel
25
return `
26
<additional_data>
27
Below are some potentially helpful/relevant pieces of information for figuring out to respond
0 commit comments