add ChatRequest.modeInstructions2 with mode metadata to try out things (#267303)

This commit is contained in:
Martin Aeschlimann
2025-09-17 21:25:37 -07:00
committed by GitHub
parent f80fe25ba4
commit 50b5aa8954
14 changed files with 142 additions and 100 deletions

View File

@@ -646,7 +646,13 @@ declare module 'vscode' {
}
export interface ChatRequest {
modeInstructions?: string;
modeInstructionsToolReferences?: readonly ChatLanguageModelToolReference[];
readonly modeInstructions?: string;
readonly modeInstructions2?: ChatRequestModeInstructions;
}
export interface ChatRequestModeInstructions {
readonly content: string;
readonly toolReferences?: readonly ChatLanguageModelToolReference[];
readonly metadata?: Record<string, boolean | string | number>;
}
}