Back to library
AI
best practice

Eliminate Workflow Interruptions with AI-Powered Auto Approvals

Skip the constant 'Y/N' confirmation prompts for routine AI edits.

Enable the 'Auto Approval' feature to allow the AI to use an internal classifier to skip manual confirmation for safe, routine operations.

Qwen

The Scenario

You are running a long-running agent task that involves many small file edits or read operations, and you want to avoid being interrupted by constant 'Y/N' prompts.

Before & after

The old way

Users must manually review and hit 'Y' for every single file write or shell command requested by the AI, adding 10–15 minutes of friction per hour.

With AI

Enable 'Auto Approval' to let the LLM classifier determine if a task is safe to run, reducing manual checks to just 1–2 minutes for high-risk items.

The Prompt

/config set auto_approval true

Qwen Code uses an LLM classifier to evaluate the risk of a tool call. If a task is deemed routine or low-risk, it can proceed without stopping for human confirmation.

Source

Qwen Code Blog: AI Coding Updates and Guides | Qwen Code Docs
"Auto Approval uses an LLM classifier to decide whether human confirmation is needed, so routine operations stop interrupting you."