Skip to content

Commit df2c73e

Browse files
Copilotalexr00
andauthored
Apply remaining changes
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent 76a8e13 commit df2c73e

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎src/@types/vscode.proposed.authIssuers.d.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
declare module 'vscode' {
7+
8+
// https://github.com/microsoft/vscode/issues/248775
9+
710
export interface AuthenticationSession {
811
/**
912
* The authorization server that issued this session, when provided by the authentication provider.

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,15 @@ declare module 'vscode' {
4949
ranges: Range[];
5050
}
5151

52+
/** The Auto routing tier a request was resolved with. */
53+
export type ChatAutoModeTier = 'efficiency' | 'balance' | 'intelligence' | 'fast';
54+
5255
export class ChatResponseTextEditPart {
5356
uri: Uri;
5457
edits: TextEdit[];
5558
isDone?: boolean;
59+
/** The Auto routing tier that produced these edits, for edit attribution. */
60+
autoTier?: ChatAutoModeTier;
5661
constructor(uri: Uri, done: true);
5762
constructor(uri: Uri, edits: TextEdit | TextEdit[]);
5863
}
@@ -61,6 +66,8 @@ declare module 'vscode' {
6166
uri: Uri;
6267
edits: NotebookEdit[];
6368
isDone?: boolean;
69+
/** The Auto routing tier that produced these edits, for edit attribution. */
70+
autoTier?: ChatAutoModeTier;
6471
constructor(uri: Uri, done: true);
6572
constructor(uri: Uri, edits: NotebookEdit | NotebookEdit[]);
6673
}

‎src/@types/vscode.proposed.chatSessionsProvider.d.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,8 @@ declare module 'vscode' {
722722
};
723723
readonly maxInputTokens?: number;
724724
readonly maxOutputTokens?: number;
725+
/** The total context window, independent of the input and output token limits. */
726+
readonly maxContextWindowTokens?: number;
725727
readonly capabilities?: {
726728
readonly vision?: boolean;
727729
readonly toolCalling?: boolean;

0 commit comments

Comments
 (0)