Skip to content

Commit 2f146fa

Browse files
Copilotalexr00
andcommitted
Initial assessment - identifying changes needed for PR Query Editing action name
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent 6494e61 commit 2f146fa

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/@types/vscode.proposed.chatParticipantAdditions.d.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,13 @@ declare module 'vscode' {
646646
}
647647

648648
export interface ChatRequest {
649-
modeInstructions?: string;
650-
modeInstructionsToolReferences?: readonly ChatLanguageModelToolReference[];
649+
readonly modeInstructions?: string;
650+
readonly modeInstructions2?: ChatRequestModeInstructions;
651+
}
652+
653+
export interface ChatRequestModeInstructions {
654+
readonly content: string;
655+
readonly toolReferences?: readonly ChatLanguageModelToolReference[];
656+
readonly metadata?: Record<string, boolean | string | number>;
651657
}
652658
}

src/@types/vscode.proposed.chatParticipantPrivate.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ declare module 'vscode' {
187187

188188
isQuotaExceeded?: boolean;
189189

190+
isRateLimited?: boolean;
191+
190192
level?: ChatErrorLevel;
191193

192194
code?: string;

0 commit comments

Comments
 (0)