Skip to content

Commit 32cdaf1

Browse files
Copilotalexr00
andcommitted
Initial analysis: understand issue with branch switching when useBranchForIssues is off
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent 89e1d02 commit 32cdaf1

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-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: 3 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;
@@ -239,6 +241,7 @@ declare module 'vscode' {
239241
export class ExtendedLanguageModelToolResult extends LanguageModelToolResult {
240242
toolResultMessage?: string | MarkdownString;
241243
toolResultDetails?: Array<Uri | Location>;
244+
toolMetadata?: unknown;
242245
}
243246

244247
// #region Chat participant detection

0 commit comments

Comments
 (0)