[GH-ISSUE #6318] Question: What is the expected LLM output format for characters selfies? #3526

Closed
opened 2026-10-21 06:03:58 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @scavru on GitHub (Sep 18, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6318

Originally assigned to: @SpicyMarinara on GitHub.

Question: What is the expected LLM output format for selfies?

What format should the LLM use when a character sends a selfie?

Sometimes the selfie is generated correctly, but other times the LLM only outputs something like:

[SELFIE:xxxxx.]

and no selfie is generated.

Is there a specific output format or syntax that the LLM is expected to use for triggering a selfie? If so, could you provide an example of the correct response format?

Originally created by @scavru on GitHub (Sep 18, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6318 Originally assigned to: @SpicyMarinara on GitHub. ### Question: What is the expected LLM output format for selfies? What format should the LLM use when a character sends a selfie? Sometimes the selfie is generated correctly, but other times the LLM only outputs something like: ```text [SELFIE:xxxxx.] ``` and no selfie is generated. Is there a specific output format or syntax that the LLM is expected to use for triggering a selfie? If so, could you provide an example of the correct response format?
bsakaguchi 2026-10-21 06:03:58 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 18, 2026):

Investigation owner: @SpicyMarinara (Codex). I am checking the current selfie trigger and provider prerequisites to answer with the supported format and explain when a marker is left as text.

<!-- gh-comment-id:5730142396 --> @SpicyMarinara commented on GitHub (Sep 18, 2026): Investigation owner: @SpicyMarinara (Codex). I am checking the current selfie trigger and provider prerequisites to answer with the supported format and explain when a marker is left as text.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 18, 2026):

The supported format is a command in the character's Conversation response:

Here is a picture from my walk!
[selfie: context="standing beside the river at sunset"]

[selfie], [selfie: "by the river"], and [selfie: by the river] also work. The parser is case-insensitive: [SELFIE:xxxxx.] is already valid syntax. I ran all five forms through the current parser.

Check the setup in that Conversation chat:

  • Install Illustrator from Agents → Download Agents.
  • In Chat Settings → Agents, enable Commands.
  • Under Illustrator Settings, enable Generated Selfies and select a Selfie Connection.

This marker is not a Roleplay or Game Mode image command. In another mode, or with Commands disabled, it may remain ordinary text. If the command runs but the image request fails, the connection/provider error is the useful clue; capitalization is not the cause. The manual Gallery → Selfie action can test the configured image connection.

I have added these syntax examples and boundaries to the selfie guide in #6319. The existing setup guide is here. If it still fails with this setup, please provide the chat mode, the exact marker and the image error so we can trace the failing path.

<!-- gh-comment-id:5730215684 --> @SpicyMarinara commented on GitHub (Sep 18, 2026): The supported format is a command in the character's **Conversation** response: ```text Here is a picture from my walk! [selfie: context="standing beside the river at sunset"] ``` `[selfie]`, `[selfie: "by the river"]`, and `[selfie: by the river]` also work. The parser is case-insensitive: **`[SELFIE:xxxxx.]` is already valid syntax**. I ran all five forms through the current parser. Check the setup in that Conversation chat: - Install **Illustrator** from **Agents → Download Agents**. - In **Chat Settings → Agents**, enable **Commands**. - Under **Illustrator Settings**, enable **Generated Selfies** and select a **Selfie Connection**. This marker is not a Roleplay or Game Mode image command. In another mode, or with Commands disabled, it may remain ordinary text. If the command runs but the image request fails, the connection/provider error is the useful clue; capitalization is not the cause. The manual **Gallery → Selfie** action can test the configured image connection. I have added these syntax examples and boundaries to the selfie guide in #6319. The existing setup guide is [here](https://github.com/Pasta-Devs/Marinara-Engine/blob/staging/docs/conversation/selfies.md). If it still fails with this setup, please provide the chat mode, the exact marker and the image error so we can trace the failing path.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 18, 2026):

The answer and supported examples are now documented in #6319 on staging, with translations merged in #6311. [SELFIE:xxxxx.] is valid case-insensitive syntax. Selfies require Conversation mode, Commands enabled, Illustrator installed, Generated Selfies enabled and a selected Selfie Connection. All five supported marker forms pass the parser check. If generation starts but fails, the connection/provider error needs investigation rather than a casing change.

<!-- gh-comment-id:5732816130 --> @SpicyMarinara commented on GitHub (Sep 18, 2026): The answer and supported examples are now documented in #6319 on `staging`, with translations merged in #6311. `[SELFIE:xxxxx.]` is valid case-insensitive syntax. Selfies require Conversation mode, Commands enabled, Illustrator installed, Generated Selfies enabled and a selected Selfie Connection. All five supported marker forms pass the parser check. If generation starts but fails, the connection/provider error needs investigation rather than a casing change.
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#3526
No description provided.