mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-21 10:34:35 -07:00
feat(plan): refactor ToolConfirmationPayload to union type (#17980)
This commit is contained in:
@@ -180,7 +180,7 @@ export class AskUserInvocation extends BaseToolInvocation<
|
||||
payload?: ToolConfirmationPayload,
|
||||
) => {
|
||||
this.confirmationOutcome = outcome;
|
||||
if (payload?.answers) {
|
||||
if (payload && 'answers' in payload) {
|
||||
this.userAnswers = payload.answers;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user