mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
feat: implement permission denial tracking for tool calls
This commit is contained in:
@@ -14,6 +14,8 @@ export enum ToolErrorType {
|
||||
UNHANDLED_EXCEPTION = 'unhandled_exception',
|
||||
TOOL_NOT_REGISTERED = 'tool_not_registered',
|
||||
EXECUTION_FAILED = 'execution_failed',
|
||||
// Try to execute a tool that is excluded due to the approval mode
|
||||
EXECUTION_DENIED = 'execution_denied',
|
||||
|
||||
// File System Errors
|
||||
FILE_NOT_FOUND = 'file_not_found',
|
||||
|
||||
Reference in New Issue
Block a user