[GH-ISSUE #4444] [Issue]: Profmari cannot create marker-based image generation agent #2414

Closed
opened 2026-10-21 05:48:00 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Aug 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4444

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Profmari refuses to create an agent that extracts an image prompt following an "IMG_PROMPT:" marker and sends it to an image generation API. The refusal claims the live runtime lacks an image-result handler, although image-generating custom agents are expected to be supported.

Expected behavior

Profmari should create an agent that detects "IMG_PROMPT:" in the latest chat message, sends the text after the marker to the configured image generation API, and posts the generated image. The agent should not activate when the marker is absent.

Actual behavior

Profmari did not create or modify the agent. It reported that only the built-in Illustrator path is connected to image generation and that a custom agent using image_prompt would run an LLM but fail to send an image.

Steps to reproduce

  1. Create a connection for GPT 5.6 Luna Pro.
  2. Ask Profmari to create an agent that detects "IMG_PROMPT:" in the latest message and sends the following text directly to an image generation API.
  3. Retry the request with different wording.
  4. Observe that Profmari refuses to create the agent and reports that the runtime has no handler for the image_prompt result type.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Final Profmari output: "I can’t safely create the requested agent in this installation. The schema and documentation mention image_prompt, but the live server runtime contains no handler for that result type; only the built-in Illustrator path is wired to image generation. Creating the config anyway would produce a saved agent that likely runs an LLM and then silently fails to send an image — a database ornament, lmao.\n\nThe exact feature needs a small runtime extension: deterministic marker extraction from the latest message, configurable marker/end delimiter and positive/negative prompt fields, reuse of the selected image connection, and an image-result handler that posts the generated asset into chat. I did not modify your workspace or create a misleading agent."

Additional context

The current Illustrator behavior reportedly uses another LLM to generate a new image prompt from the entire latest message instead of using the prompt already supplied after "IMG_PROMPT:". Marinara indicated that Profmari was misunderstanding its instructions and should be able to create new agents with image generation.

Discord thread: Sending a specific part of a message to the Illustrator Agent
Discord thread link: https://discord.com/channels/1417099416812392641/1533215224847536128
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (11 messages)
[2026-08-01T20:49:55.365Z] DatDude343: At the suggestion of profmari, I am asking if there is a way to send a specifc part of the last message in a chat directly to my image generation API. My preset automatically generates an image prompt that begins after the phrase/marker "IMG_PROMPT:", followed by the prompt for an image. As it is though, it seems like Illustrator uses another LLM to generate a new image prompt based on the entire last message, despite one already being included at the end of that message.

I'm thinking a way to detect if that marker is in the message and then send everything after it to the image generator, then post the output, but if IMG_PROMPT: isn't detected in the message, the agent doesn't activate. Is that possible?
[Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533215224847536128]

[2026-08-01T20:50:55.489Z] SonaGate: You can do it with an agent
[Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533215477025865808]

[2026-08-01T20:51:10.884Z] SonaGate: profmari is capable of that, it did for me on the past
[Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533215541597175818]

[2026-08-01T20:58:22.052Z] DatDude343: As in it designed an agent for you? Guess I'll ask about that.
[Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533217350046716014]

[2026-08-01T20:59:23.829Z] SonaGate: Yep, ask profmari to design an agent for you with that capability
[Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533217609158361108]

[2026-08-01T22:09:27.432Z] DatDude343: It looked to try very hard but wasn't actually able to create the agent. Seems like it might need some other features to exist first.
[Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533235240347373720]

[2026-08-01T22:16:52.433Z] SonaGate: what model did you use to ask mari?
[Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533237106816716880]

[2026-08-01T22:23:07.596Z] DatDude343: GPT 5.6 Luna Pro. Had to make a new connection for it, but I thought a mainstream model would have the best luck.
[Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533238680364384296]

[2026-08-01T23:17:29.620Z] DatDude343: Tried to run it again with different wording, this was the final output.

"I can’t safely create the requested agent in this installation. The schema and documentation mention image_prompt, but the live server runtime contains no handler for that result type; only the built-in Illustrator path is wired to image generation. Creating the config anyway would produce a saved agent that likely runs an LLM and then silently fails to send an image — a database ornament, lmao.

The exact feature needs a small runtime extension: deterministic marker extraction from the latest message, configurable marker/end delimiter and positive/negative prompt fields, reuse of the selected image connection, and an image-result handler that posts the generated asset into chat. I did not modify your workspace or create a misleading agent."
[Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533252362284826684]

[2026-08-02T06:05:02.649Z] Marinara: She’s misunderstanding her instructions, I need to tighten them.
[Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533354925721915544]

[2026-08-02T06:05:44.482Z] Marinara: She should be able to create new agents no problem, with image generation, too.
[Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533355101182234775]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4444 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Profmari refuses to create an agent that extracts an image prompt following an "IMG_PROMPT:" marker and sends it to an image generation API. The refusal claims the live runtime lacks an image-result handler, although image-generating custom agents are expected to be supported. ## Expected behavior Profmari should create an agent that detects "IMG_PROMPT:" in the latest chat message, sends the text after the marker to the configured image generation API, and posts the generated image. The agent should not activate when the marker is absent. ## Actual behavior Profmari did not create or modify the agent. It reported that only the built-in Illustrator path is connected to image generation and that a custom agent using image_prompt would run an LLM but fail to send an image. ## Steps to reproduce 1. Create a connection for GPT 5.6 Luna Pro. 2. Ask Profmari to create an agent that detects "IMG_PROMPT:" in the latest message and sends the following text directly to an image generation API. 3. Retry the request with different wording. 4. Observe that Profmari refuses to create the agent and reports that the runtime has no handler for the image_prompt result type. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Final Profmari output: "I can’t safely create the requested agent in this installation. The schema and documentation mention image_prompt, but the live server runtime contains no handler for that result type; only the built-in Illustrator path is wired to image generation. Creating the config anyway would produce a saved agent that likely runs an LLM and then silently fails to send an image — a database ornament, lmao.\n\nThe exact feature needs a small runtime extension: deterministic marker extraction from the latest message, configurable marker/end delimiter and positive/negative prompt fields, reuse of the selected image connection, and an image-result handler that posts the generated asset into chat. I did not modify your workspace or create a misleading agent." ## Additional context The current Illustrator behavior reportedly uses another LLM to generate a new image prompt from the entire latest message instead of using the prompt already supplied after "IMG_PROMPT:". Marinara indicated that Profmari was misunderstanding its instructions and should be able to create new agents with image generation. Discord thread: Sending a specific part of a message to the Illustrator Agent Discord thread link: https://discord.com/channels/1417099416812392641/1533215224847536128 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (11 messages)</summary> ```text [2026-08-01T20:49:55.365Z] DatDude343: At the suggestion of profmari, I am asking if there is a way to send a specifc part of the last message in a chat directly to my image generation API. My preset automatically generates an image prompt that begins after the phrase/marker "IMG_PROMPT:", followed by the prompt for an image. As it is though, it seems like Illustrator uses another LLM to generate a new image prompt based on the entire last message, despite one already being included at the end of that message. I'm thinking a way to detect if that marker is in the message and then send everything after it to the image generator, then post the output, but if IMG_PROMPT: isn't detected in the message, the agent doesn't activate. Is that possible? [Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533215224847536128] [2026-08-01T20:50:55.489Z] SonaGate: You can do it with an agent [Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533215477025865808] [2026-08-01T20:51:10.884Z] SonaGate: profmari is capable of that, it did for me on the past [Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533215541597175818] [2026-08-01T20:58:22.052Z] DatDude343: As in it designed an agent for you? Guess I'll ask about that. [Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533217350046716014] [2026-08-01T20:59:23.829Z] SonaGate: Yep, ask profmari to design an agent for you with that capability [Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533217609158361108] [2026-08-01T22:09:27.432Z] DatDude343: It looked to try very hard but wasn't actually able to create the agent. Seems like it might need some other features to exist first. [Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533235240347373720] [2026-08-01T22:16:52.433Z] SonaGate: what model did you use to ask mari? [Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533237106816716880] [2026-08-01T22:23:07.596Z] DatDude343: GPT 5.6 Luna Pro. Had to make a new connection for it, but I thought a mainstream model would have the best luck. [Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533238680364384296] [2026-08-01T23:17:29.620Z] DatDude343: Tried to run it again with different wording, this was the final output. "I can’t safely create the requested agent in this installation. The schema and documentation mention image_prompt, but the live server runtime contains no handler for that result type; only the built-in Illustrator path is wired to image generation. Creating the config anyway would produce a saved agent that likely runs an LLM and then silently fails to send an image — a database ornament, lmao. The exact feature needs a small runtime extension: deterministic marker extraction from the latest message, configurable marker/end delimiter and positive/negative prompt fields, reuse of the selected image connection, and an image-result handler that posts the generated asset into chat. I did not modify your workspace or create a misleading agent." [Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533252362284826684] [2026-08-02T06:05:02.649Z] Marinara: She’s misunderstanding her instructions, I need to tighten them. [Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533354925721915544] [2026-08-02T06:05:44.482Z] Marinara: She should be able to create new agents no problem, with image generation, too. [Discord message: https://discord.com/channels/1417099416812392641/1533215224847536128/1533355101182234775] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:48:00 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 2, 2026):

@SpicyMarinara is handling this in the v2.4.1 issue-sweep branch. Scope: tighten Professor Mari workspace guidance so she uses the already-supported custom image_prompt runtime instead of refusing the request.

<!-- gh-comment-id:5156039034 --> @SpicyMarinara commented on GitHub (Aug 2, 2026): @SpicyMarinara is handling this in the v2.4.1 issue-sweep branch. Scope: tighten Professor Mari workspace guidance so she uses the already-supported custom image_prompt runtime instead of refusing the request.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2414
No description provided.