[GH-ISSUE #6960] [Issue]: Make image captioning prompts editable and report model failures #3900

Closed
opened 2026-10-21 06:08:34 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The image captioning feature does not provide an apparent way to edit its prompt, making it difficult to request more detailed captions. When the image captioning model connection was intentionally broken, the feature returned a result without reporting an error, making it unclear whether the image was processed.

Expected behavior

Users should be able to view and edit the image captioning prompt, reset it to the default prompt, and receive an error when the captioning model is unavailable or fails to process an image.

Actual behavior

The default prompt was only found by inspecting image-captioning-runtime.js, and editing it there was required to produce more detailed results. After the connection to the image captioning model was broken, the feature still returned a result without an error.

Steps to reproduce

  1. Enable the image captioning feature.
  2. Attempt to customize the prompt used for image captioning through the user interface.
  3. Inspect image-captioning-runtime.js and edit the embedded default prompt.
  4. Break the connection to the image captioning model.
  5. Use the image captioning feature and observe that it returns a result without an error.

Environment

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

Logs, screenshots, or video

Not provided in the Discord context.

Additional context

The reporter assigned a custom prompt to the model but was unsure whether image captioning used it. The default prompt was found in image-captioning-runtime.js. Marinara indicated that the prompt should be exposed in a freeform field below the image-captioning toggle, with an option to reset it to the default.

Discord thread: How to make the Image Captioning more detailed?
Discord thread link: https://discord.com/channels/1417099416812392641/1555372628406182029
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (4 messages)
[2026-10-02T00:15:32.038Z] Dee: Is there a way to increase the response length of the text produced by the image caption feature? I have assigned the model it is using a custom prompt, but I am unsure if the image captioning is using that or a different prompt as it doesn't ever seem to give any more information
[Discord message: https://discord.com/channels/1417099416812392641/1555372628406182029/1555372628406182029]

[2026-10-02T01:11:33.493Z] Dee: I found the default prompt buried in the 'image-captioning-runtime.js.' after editing the prompt there, I was able to get more detailed results, but I am sure there is a simpler way to do it
[Discord message: https://discord.com/channels/1417099416812392641/1555372628406182029/1555386727370068034]

[2026-10-02T01:22:04.151Z] Dee: Also through testing, im not sure the image captioning is actually preventing the image from being sent. I purposefully broke my connection to the image captioning model and it, without error, gave me a result
[Discord message: https://discord.com/channels/1417099416812392641/1555372628406182029/1555389372541571174]

[2026-10-02T06:12:16.176Z] Marinara: I’ll make it so that prompt shows up in a freeform writing box below the toggle if you enable it, allowing you to edit the prompt there (or reset it to default). I’ll also check if everything works, but it should.
[Discord message: https://discord.com/channels/1417099416812392641/1555372628406182029/1555462403867545631]

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 (Oct 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6960 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The image captioning feature does not provide an apparent way to edit its prompt, making it difficult to request more detailed captions. When the image captioning model connection was intentionally broken, the feature returned a result without reporting an error, making it unclear whether the image was processed. ## Expected behavior Users should be able to view and edit the image captioning prompt, reset it to the default prompt, and receive an error when the captioning model is unavailable or fails to process an image. ## Actual behavior The default prompt was only found by inspecting image-captioning-runtime.js, and editing it there was required to produce more detailed results. After the connection to the image captioning model was broken, the feature still returned a result without an error. ## Steps to reproduce 1. Enable the image captioning feature. 2. Attempt to customize the prompt used for image captioning through the user interface. 3. Inspect image-captioning-runtime.js and edit the embedded default prompt. 4. Break the connection to the image captioning model. 5. Use the image captioning feature and observe that it returns a result without an error. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Not provided in the Discord context. ## Additional context The reporter assigned a custom prompt to the model but was unsure whether image captioning used it. The default prompt was found in image-captioning-runtime.js. Marinara indicated that the prompt should be exposed in a freeform field below the image-captioning toggle, with an option to reset it to the default. Discord thread: How to make the Image Captioning more detailed? Discord thread link: https://discord.com/channels/1417099416812392641/1555372628406182029 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (4 messages)</summary> ```text [2026-10-02T00:15:32.038Z] Dee: Is there a way to increase the response length of the text produced by the image caption feature? I have assigned the model it is using a custom prompt, but I am unsure if the image captioning is using that or a different prompt as it doesn't ever seem to give any more information [Discord message: https://discord.com/channels/1417099416812392641/1555372628406182029/1555372628406182029] [2026-10-02T01:11:33.493Z] Dee: I found the default prompt buried in the 'image-captioning-runtime.js.' after editing the prompt there, I was able to get more detailed results, but I am sure there is a simpler way to do it [Discord message: https://discord.com/channels/1417099416812392641/1555372628406182029/1555386727370068034] [2026-10-02T01:22:04.151Z] Dee: Also through testing, im not sure the image captioning is actually preventing the image from being sent. I purposefully broke my connection to the image captioning model and it, without error, gave me a result [Discord message: https://discord.com/channels/1417099416812392641/1555372628406182029/1555389372541571174] [2026-10-02T06:12:16.176Z] Marinara: I’ll make it so that prompt shows up in a freeform writing box below the toggle if you enable it, allowing you to edit the prompt there (or reset it to default). I’ll also check if everything works, but it should. [Discord message: https://discord.com/channels/1417099416812392641/1555372628406182029/1555462403867545631] ``` </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 06:08:34 +07:00
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#3900
No description provided.