From 372d0d5510716a4cb0e07a5f2e48811d1d71997a Mon Sep 17 00:00:00 2001 From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Date: Thu, 29 Oct 2026 10:40:54 -0500 Subject: [PATCH] fix(core): have agents ask before generating an image nobody asked for (#60256) --- 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 b7a2ca829ec..d22c5e32ef9 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.",