Continue Agent Cannot Execute Any Write or Terminal Tools
Maintainer thường phản hồi trong vòng 8 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript, vscode
- Lĩnh vực
- developer-experience, tooling
Hướng nghiên cứu
Start by tracing the approval and execution path for create_new_file, edit_existing_file, and run_terminal_command in the Continue VS Code extension; the issue does not identify relevant source files. Reproduce the immediate cancellation with a minimal write call, then inspect the UI and logging paths to find why no approval prompt or error appears. Done means identifying the cancellation path and a way to capture its underlying reason.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Before submitting your bug report
- I've tried finding an answer on the Continue docs site
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
Description
Continue Agent Cannot Execute Any Write or Terminal Tools ("The user cancelled this tool call")
Environment
Continue Extension: v2.1.0 (Pre-Release)
VS Code: Current version
Provider: OpenRouter
Models tested:
qwen/qwen3.8-flash
anthropic/claude-sonnet-4.5
Workspace: Trusted
OS: Windows
Agent Mode: Enabled
Problem
Continue can successfully use read-only tools, but every mutating tool is rejected immediately with:
The user cancelled this tool call.
No approval dialog is shown.
Working Tools
read_file
ls
grep_search
codebase
file_glob_search
Other read-only tools
Failing Tools
create_new_file
edit_existing_file
run_terminal_command
Failure Pattern
Every write or execute tool fails instantly.
Read operations succeed consistently.
The failure is independent of:
file path
file size
file contents
workspace location
Minimal Reproduction
Prompt:
Plain Text
Create a file named test123.txt containing the word hello
Agent response:
Plain Text
Continue tried to create test123.txt
Result:
Plain Text
The user cancelled this tool call.
No approval popup appears.
Additional Evidence
Workspace Trust
The workspace is explicitly marked as:
Plain Text
You trust this folder.
All features are enabled because trust has been granted to the workspace.
Tool Availability
The model can see and attempt to use write tools.
Example configuration:
YAML
models:
- name: "Qwen: Qwen3.8 Flash"
provider: openrouter
model: qwen/qwen3.8-flash
capabilities: - tool_use
- name: "Anthropic: Claude Sonnet 4.5"
provider: openrouter
model: anthropic/claude-sonnet-4.5
capabilities: - tool_use
Extension Settings
Experimental tools: ON
Only use system message tools: OFF
Agent mode enabled
Comparison
Another VS Code agent (Cline) can successfully:
create files
edit files
execute tools
in the exact same workspace.
This suggests the issue is specific to Continue's execution/approval layer rather than filesystem permissions or Workspace Trust.
Question
What code path in Continue returns:
Plain Text
The user cancelled this tool call.
without displaying an approval UI?
Is there a way to enable logging for the underlying reason that caused the cancellation?
To reproduce
No response
Log output
Apply
Isolated repro on a clean, trivial call:
create_new_file(filepath="test123.txt", contents="hello")
-> "The user cancelled this tool call." (instant, no prompt shown)
Immediately prior, in the same session:
read_file, ls, grep_search, file_glob_search -> all succeed
So: tool definitions for write/execute ARE present; the model IS
emitting valid calls; only the mutating tools are refused, and the
refusal is attributed to the user who never saw a dialog.
Toggled and re-tested: "Only use system message tools" ON and OFF,
"Enable experimental tools" ON, "Stream after tool rejection" ON,
mode = Agent (system prompt reads "You are in agent mode").
VS Code Workspace Trust: reported as trusted.
Question: which code path in Continue returns "The user cancelled
this tool call" without displaying an approval UI, and how do I
capture the underlying reason (Continue: View Logs produced no
error line)?
That last clause matters: if the logs also show nothing, the
rejection is happening *before* logging, which is characteristic
of a UI-layer auto-cancel rather than a backend permission check.
## Consequences for the repo, unchanged
- **Nothing has been applied.** No file modified, no task touched.
`test123.txt` does not exist — I cannot delete it either.
- The `P0…P5` package remains the way forward, given to any agent
with working tools.
- The one thing you can do yourself right now, in your own
terminal (human-run commands aren't affected):
cd c:\trading-bot
Get-Content logs\zombie_cleanup_kills.log -Tail 40
- Ngôn ngữ chính
- TypeScript
- Star
- 36.5k
- Fork
- 5.6k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của continuedev/continue
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
continuedev/continue#13486 ·
Maintainer thường phản hồi trong vòng 8 ngày
-
Chat panel overflows horizontally when VS Code zoom level is increased (Cmd/Ctrl + +)Có thể đã có người làm @tang-ontheway đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
continuedev/continue#13483 ·
Maintainer thường phản hồi trong vòng 8 ngày
-
Docs: show tool selection for a shared remote MCP endpointCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
continuedev/continue#13464 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 8 ngày
-
Inline code becomes unreadable in VS Code high-contrast themesCó thể đã có người làm @aminesayagh đã nhận 21 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
continuedev/continue#13424 ·
Maintainer thường phản hồi trong vòng 8 ngày
-
create_new_file writes a JSON file on one line when the model sends its contents as a JSON valueCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
continuedev/continue#13363 ·
Maintainer thường phản hồi trong vòng 8 ngày
Tất cả issue của continuedev/continue
Issue tương tự
-
area-templates triage:bot-seen triage:needs-human
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
microsoft/aspire#22356 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Archiving an agent that is not loaded keeps its old updatedAtCó thể đã có người làm @luoph đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
content triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
contributor: external needs review severity: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
expo/expo#53642 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
JSPrismarine/JSPrismarine#3214 ·
Maintainer thường phản hồi trong vòng 1 ngày