Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/vs/workbench/api/common/extHostTypeConverters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3048,6 +3048,7 @@ export namespace AideAgentRequest {
location: ChatLocation.to(request.location),
location2,
isDevtoolsContext: request.isDevtoolsContext,
inputTokens: request.inputTokens,
};
}
}
Expand Down Expand Up @@ -3294,4 +3295,4 @@ export namespace SymbolNavigationActionType {
return types.SymbolNavigationActionType.GoToDefinition;
}
}
}
}
3 changes: 2 additions & 1 deletion src/vs/workbench/contrib/aideAgent/common/aideAgentAgents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export interface IChatAgentRequest {
rejectedConfirmationData?: any[];
userSelectedModelId?: string;
isDevtoolsContext: boolean;
inputTokens?: number;
}

export interface IChatQuestion {
Expand Down Expand Up @@ -704,4 +705,4 @@ export function reviveSerializedAgent(raw: ISerializableChatAgentData): IChatAge
}

return revive(agent);
}
}
3 changes: 2 additions & 1 deletion src/vscode-dts/vscode.proposed.aideAgent.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ declare module 'vscode' {
readonly location: ChatLocation;
readonly location2: ChatRequestEditorData | ChatRequestNotebookData | undefined;
readonly isDevtoolsContext: boolean;
readonly inputTokens?: number;
}

export class ChatResponseCodeEditPart {
Expand Down Expand Up @@ -133,4 +134,4 @@ declare module 'vscode' {
export function registerChatVariableResolver(id: string, name: string, userDescription: string, modelDescription: string | undefined, isSlow: boolean | undefined, resolver: ChatVariableResolver, fullName?: string, icon?: ThemeIcon): Disposable;
export function registerMappedEditsProvider2(provider: MappedEditsProvider2): Disposable;
}
}
}