Skip to content

Commit 355523e

Browse files
fix : optional parameters added
1 parent a621e08 commit 355523e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/prompts/instructions/instructions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ interface InstructionsDetail {
99
mcpHub?: McpHub
1010
diffStrategy?: DiffStrategy
1111
context?: vscode.ExtensionContext
12-
error: string
13-
code: string
12+
error?: string
13+
code?: string
1414
}
1515

1616
export async function fetchInstructions(text: string, detail: InstructionsDetail): Promise<string> {

0 commit comments

Comments
 (0)