Repository navigation
Description
Describe the feature or problem you'd like to solve
The image generation tool (GPT Image 2.5 Flare) works in interactive Copilot CLI and in VS Code, but never in a session started with copilot --acp. ACP clients (I hit it in T3 Code) get a session without the tool, even when the user's imageGeneration setting is on and the account has the rollout.
From reading the bundled cli-main.js (1.0.114):
- The interactive CLI passes the user's
imageGenerationsetting through to the session. - The ACP session config (
clientKind: "acp") setstools.availableToolsandtools.excludedTools, but nottools.imageGeneration. - The session layer then falls back to
tools.imageGeneration.enabled ?? false, so ACP sessions always have it off.
There's no --acp flag or ACP session parameter that turns it on, so the ACP client has no way to enable it either.
Proposed solution
Have ACP sessions follow the same imageGeneration setting as interactive sessions (default on, when the account has access). Optionally, let the ACP client override it per session, for example through _meta on session/new, the way SDK hosts already can with tools.imageGeneration.enabled.
Generated images already come back as files in the project, which ACP clients can display, so nothing else should be needed on the protocol side.
Example prompts or workflows
- In an ACP client, ask: "Make a 512×512 PNG icon of a red planet and save it to
assets/icons/." Today the agent says it has no image tool; incopilotin a terminal it works. - An orchestrating agent delegates "generate 6 portrait variants in this style" to a Copilot ACP session, then wires the files into the app.
- Generate a favicon or OG image as part of a coding task, without leaving the ACP client for VS Code or a terminal.
Additional context
- Copilot CLI 1.0.114, Windows 11, Copilot account with the
copilot_cli_image_generation_toolexperiment enabled. ~/.copilot/config.jsondoesn't setimageGeneration, so it's at its default (true).- Steps to reproduce:
- Run
copilotin a terminal, ask for a small test image: it's generated. - Start
copilot --acpfrom an ACP client in the same folder with the same account and model, ask the same thing: the agent reports no image generation tool.
- Run
- Related: Support image generation for developer assets (icons, favicons, logos, OG images) #4581 (image generation for developer assets).
Activity
devm33 commentedon Nov 22, 2026
Thanks for raising! Will be available in the next release