mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 23:06:49 +01:00
add ChatRequest.modeInstructions2 with mode metadata to try out things (#267303)
This commit is contained in:
committed by
GitHub
parent
f80fe25ba4
commit
50b5aa8954
@@ -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>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user