Where does the bug appear (feature/product)?
- Editor, Tab & Chat (autocomplete, Composer, in-editor agent)
Describe the Bug
When I explicitly ask the Agent to generate an image (e.g. “Generate a picture of a cute kitten”), the Agent invokes GenerateImage but it always fails. Image generation used to work with Composer 2.5; it stopped working recently.
The Agent-side error is:
Failed to generate image, error: Image generation was not performed — the tool call appears to be unintended. Do not retry or call GenerateImage again unless the user explicitly asks for an image.
The user intent is unambiguous, yet the call is rejected as “unintended.”
Steps to Reproduce
- Open Cursor and open a project folder (not Quick Chat).
- Start a new chat (Ctrl+N).
- Manually select Composer 2.5 (Auto / Premium model router disabled).
- Prompt: “Generate a picture of a cute kitten.”
- Agent calls GenerateImage → fails with the error above.
Also reproducible with Grok 4.5 (same behavior).
Expected Behavior
GenerateImage should run successfully and return an inline image preview (saved to the project assets folder by default).
Screenshots / Screen Recordings
N/A — no visible error dialog in the client UI; failure only appears in the Agent tool result.
Operating System
- Windows 10/11 (Windows 10, build 10.0.26200)
Version Information
Version: 3.15.6 (user setup)
VS Code Extension API: 1.128.0
Commit: a1f686545fd0ce8917bbd2449f733551a9bce420
Date: 2026-08-06T01:41:03.876Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Windows_NT x64 10.0.26200
For AI issues: which model did you use?
Composer 2.5 (manually selected). Also tested Grok 4.5 — same failure.
For AI issues: add Request ID with privacy disabled
Request ID: Not available — the chat menu does not show “Copy Request ID” for these failed attempts, and there is no client-side error dialog.
If needed, I can disable Privacy Mode (Settings → General) and retry to obtain a Request ID. Please advise if that is required.
Additional Information
Troubleshooting already tried:
- Brand-new chat
- Sign out and sign back in
- Manual model selection (Composer 2.5, not Auto)
- Project folder open
No VPN / custom API base URL / BYOK configured: Yes
This appears to be a server-side routing or GenerateImage guard issue rather than a local configuration problem.
Does this stop you from using Cursor?
- No - Cursor works, but with this issue