mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-02 00:09:30 +01:00
sessions - skip modifiedFilesConfirmation as inline approval for now, its not working
This commit is contained in:
@@ -91,8 +91,8 @@ export class AgentSessionApprovalModel extends Disposable {
|
||||
}
|
||||
|
||||
for (const part of lastResponse.response.value) {
|
||||
if (part.kind !== 'toolInvocation') {
|
||||
continue;
|
||||
if (part.kind !== 'toolInvocation' || part.toolSpecificData?.kind === 'modifiedFilesConfirmation') {
|
||||
continue; // unsupported
|
||||
}
|
||||
const state = part.state.read(reader);
|
||||
if (state.type === IChatToolInvocation.StateKind.WaitingForConfirmation || state.type === IChatToolInvocation.StateKind.WaitingForPostApproval) {
|
||||
|
||||
Reference in New Issue
Block a user