Use imageGenerate for image modification requests
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- ai, documentation
Research direction
Start by locating the tool-usage instructions or skill guidance that describes when to call imageGenerate. Update the guidance for image modification, chart and diagram regeneration, including prompt reconstruction and the limitation that pixel-accurate raster editing is unsupported; done when these cases are clearly covered.
Written by the indexing model from the issue text.
Description
Summary
When a user asks to modify or recreate an image (e.g. update a chart, change a visualization), the assistant currently skips imageGenerate and falls back to non-visual responses. It should recognize these as valid use cases for the image generation tool and attempt to fulfill them visually.
Background
A user requested an image modification (changing a chart). The assistant declined to use imageGenerate even though the task was plausibly in scope. The existing tool-usage guidance says to use imageGenerate when the user wants to visually represent something, but the assistant doesn't connect "modify this image" requests to that definition.
Scope
- Update tool-usage instructions or skill guidance so the assistant maps image-modification intent (editing, recreating, updating a visual) to
imageGeneratecalls - Likely includes chart regeneration, diagram edits, and similar re-render tasks
- Out of scope: pixel-level editing of existing rasters (not supported by the underlying tool)
Implementation
- Clarify in tool-usage docs that "modify an image" and "update this chart/diagram" requests should trigger
imageGeneratewith a reconstructed prompt - Add guidance on how to infer prompt content from the existing image description + requested changes
- Note limitations (generative output, not pixel-accurate edits)
Action taken on behalf of David Cramer.
- Dominant language
- TypeScript
- Stars
- 358
- Forks
- 38
- Avg merge
- 7h
- Merged PRs (30d)
- 199
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/junior
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 5/5 Over a week Newbie friendliness 28/100
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in getsentry/junior
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·