From 461da7217648d6427cec4552206434e2d8fb91d3 Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Thu, 29 Oct 2026 10:08:29 -0500 Subject: [PATCH] fix(core): have agents ask before generating an image nobody asked for --- packages/core/src/tool/plugin/image-generate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/tool/plugin/image-generate.ts b/packages/core/src/tool/plugin/image-generate.ts index b7a2ca829ec0..d22c5e32ef9e 100644 --- a/packages/core/src/tool/plugin/image-generate.ts +++ b/packages/core/src/tool/plugin/image-generate.ts @@ -37,7 +37,7 @@ const EXTENSIONS: Record = { export const description = [ "Generates a new image, or edits existing ones.", - "Only call this when the user asks you to create or edit an image.", + "Only call this when the user asks you to create or edit an image. If you think an image would help but the user didn't ask for one, ask them first instead of generating it.", "Images you pass are used as the source to edit, or as references for style and subject.", "Each call makes one image. For several images, call it once per image.", "It runs in the background: the call starts a job and returns right away, and you are notified automatically when the image is saved, with its path. Never poll, sleep, or check for the file while you wait.",