fix: handle user-declined tool executions separately from errors (#2258)

This commit is contained in:
Brewinski
2025-06-21 02:50:00 +10:00
committed by GitHub
parent babb114bc4
commit 8572a4832d
3 changed files with 19 additions and 4 deletions

View File

@@ -116,6 +116,7 @@ vim.g.avante_login = vim.g.avante_login
---@field tool_use_id string
---@field content string
---@field is_error? boolean
---@field is_user_declined? boolean
---
---@class AvantePromptOptions: table<[string], string>
---@field system_prompt string