Description
When deepseek ask for tool use like edit_file, sometimes I chosed to deny it.
However, after I denied it, it will deny it automatically forever. So I can't approve it any more.
/exit and resume this session can fix it, but it seems like there is a bug.
It was first reported in #1377. it was fixed then, but it happened again. So it is a regression bug.
Specially, this bug seems exist in any tool which need user approval.
Steps to reproduce
Same as #1377
- ask deepseek to
edit_file
- deny it
- then ask it to
edit_file
Expected behavior
You can approve second edit_file request.
Actual behavior
All edit_file will be denied automatically if you deny it once.
Failed to authorize tool execution: Tool 'edit_file' denied by user
Impact
Environment
- OS: Arch Linux
- DeepSeek CLI version: 0.8.36
- Model: DeepSeek V4 Flash
- Shell: fish
Logs, screenshots, or recordings
Description
When deepseek ask for tool use like edit_file, sometimes I chosed to deny it.
However, after I denied it, it will deny it automatically forever. So I can't approve it any more.
/exit and resume this session can fix it, but it seems like there is a bug.
It was first reported in #1377. it was fixed then, but it happened again. So it is a regression bug.
Specially, this bug seems exist in any tool which need user approval.
Steps to reproduce
Same as #1377
edit_fileedit_fileExpected behavior
You can approve second
edit_filerequest.Actual behavior
All
edit_filewill be denied automatically if you deny it once.Impact
Environment
Logs, screenshots, or recordings