[GH-ISSUE #2907] [Issue]: Allow blank/empty preset options for quick-access section toggles #1488

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Users want preset sections to be quick-toggleable from Chat Settings alongside variables, but current workarounds require inserting placeholder values like NONE or hyphens into the prompt. This makes toggling sections feel hacky and adds unnecessary prompt content/processing.

Expected behavior

Preset sections should be configurable as quick-access toggles in Chat Settings, and empty/off states should be allowed without inserting placeholder text into the prompt.

Actual behavior

Preset sections can only be toggled from preset settings in the top bar, and variable-based workarounds require a non-empty value that gets inserted into the prompt (for example, NONE or a hyphen). Users cannot leave an option blank to insert nothing.

Steps to reproduce

  1. Create a preset section intended to be toggled on and off during chat.
  2. Try to represent an off/blank state using a variable option.
  3. Observe that the option cannot be left empty and placeholder text is inserted into the prompt instead.

Environment

  • Marinara Engine version: Not provided in the Discord thread.
  • Install type: Not provided in the Discord thread.
  • OS + version: Not provided in the Discord thread.
  • Browser or app shell: Not provided in the Discord thread.

Logs, screenshots, or video

Not provided in the Discord thread.

Additional context

User requested quick-toggleable preset sections to easily add/remove extra jailbreaking, deslop, and tone directions mid-chat. Marinara later confirmed the blank option could not be empty and said it would be changed so it can be empty.

Discord thread: Quick-access section toggles
Thread link: https://discord.com/channels/1417099416812392641/1520134285947048039
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (10 messages)
[2026-06-26T18:30:56.499Z] Aster: - Entire preset sections can only be toggled on/off from the preset settings in the top bar.
- Preset variables are easy to change mid-chat from the sidebar, but you can't leave an option blank.

I think it would be useful to be able to flag preset sections as quick toggleable to have them show up alongside the variables in the chat settings, to easily toss in or remove extra jailbreaking, deslop, tone directions, etc. Currently I'm using variables with nothing but a hyphen as one of the options as an 'off', but that feels hacky.
[Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520134285947048039]

[2026-06-26T18:36:32.428Z] AgentX: There's a new "edit" preset in Chat Settings, so you can quickly edit your preset variables within the chat.
[Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520135694935265432]

[2026-06-26T18:37:15.959Z] AgentX: Ah, nevermind, you mean "sections" and not variables. You could redo sections with variables, then easily toggle them on/off during chat.
[Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520135877517508680]

[2026-06-26T18:51:59.017Z] Aster: as I said, I'm already doing that and it feels hacky because you can't leave an option blank to insert absolutely nothing
[Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520139581331341353]

[2026-06-26T18:54:29.167Z] AgentX: What do you mean you can't leave an option blank? I use "NONE" as a value, and then just include things in If blocks.

So like 
Option 1, "ACTION"
Option 2, "NONE"

Then in my section, I say:
{{#if {{varname}} == "ACTION"}}
MY STUFF
{{/if}}

So if user picks "NONE", it skips over the if block and does nothing.
[Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520140211105960006]

[2026-06-26T18:55:53.947Z] Aster: it literally inserts NONE into the prompt.
[Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520140566698922014]

[2026-06-26T18:57:03.629Z] AgentX: yeah NONE is the value, you need to do IF blocks
[Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520140858966413445]

[2026-06-26T18:57:24.100Z] Aster: or we could have the option to not waste processing on any of that.
[Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520140944828010697]

[2026-06-28T09:46:37.153Z] Marinara: You can just add a Blank option, though?
[Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520727111617347786]

[2026-06-28T09:47:01.308Z] Marinara: Oh, wait, it can't be empty. I'll make it so it can.
[Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520727212930629663]

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 (Jun 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2907 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Users want preset sections to be quick-toggleable from Chat Settings alongside variables, but current workarounds require inserting placeholder values like NONE or hyphens into the prompt. This makes toggling sections feel hacky and adds unnecessary prompt content/processing. ## Expected behavior Preset sections should be configurable as quick-access toggles in Chat Settings, and empty/off states should be allowed without inserting placeholder text into the prompt. ## Actual behavior Preset sections can only be toggled from preset settings in the top bar, and variable-based workarounds require a non-empty value that gets inserted into the prompt (for example, NONE or a hyphen). Users cannot leave an option blank to insert nothing. ## Steps to reproduce 1. Create a preset section intended to be toggled on and off during chat. 2. Try to represent an off/blank state using a variable option. 3. Observe that the option cannot be left empty and placeholder text is inserted into the prompt instead. ## Environment - Marinara Engine version: Not provided in the Discord thread. - Install type: Not provided in the Discord thread. - OS + version: Not provided in the Discord thread. - Browser or app shell: Not provided in the Discord thread. ## Logs, screenshots, or video Not provided in the Discord thread. ## Additional context User requested quick-toggleable preset sections to easily add/remove extra jailbreaking, deslop, and tone directions mid-chat. Marinara later confirmed the blank option could not be empty and said it would be changed so it can be empty. Discord thread: Quick-access section toggles Thread link: https://discord.com/channels/1417099416812392641/1520134285947048039 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (10 messages)</summary> ```text [2026-06-26T18:30:56.499Z] Aster: - Entire preset sections can only be toggled on/off from the preset settings in the top bar. - Preset variables are easy to change mid-chat from the sidebar, but you can't leave an option blank. I think it would be useful to be able to flag preset sections as quick toggleable to have them show up alongside the variables in the chat settings, to easily toss in or remove extra jailbreaking, deslop, tone directions, etc. Currently I'm using variables with nothing but a hyphen as one of the options as an 'off', but that feels hacky. [Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520134285947048039] [2026-06-26T18:36:32.428Z] AgentX: There's a new "edit" preset in Chat Settings, so you can quickly edit your preset variables within the chat. [Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520135694935265432] [2026-06-26T18:37:15.959Z] AgentX: Ah, nevermind, you mean "sections" and not variables. You could redo sections with variables, then easily toggle them on/off during chat. [Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520135877517508680] [2026-06-26T18:51:59.017Z] Aster: as I said, I'm already doing that and it feels hacky because you can't leave an option blank to insert absolutely nothing [Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520139581331341353] [2026-06-26T18:54:29.167Z] AgentX: What do you mean you can't leave an option blank? I use "NONE" as a value, and then just include things in If blocks. So like Option 1, "ACTION" Option 2, "NONE" Then in my section, I say: {{#if {{varname}} == "ACTION"}} MY STUFF {{/if}} So if user picks "NONE", it skips over the if block and does nothing. [Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520140211105960006] [2026-06-26T18:55:53.947Z] Aster: it literally inserts NONE into the prompt. [Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520140566698922014] [2026-06-26T18:57:03.629Z] AgentX: yeah NONE is the value, you need to do IF blocks [Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520140858966413445] [2026-06-26T18:57:24.100Z] Aster: or we could have the option to not waste processing on any of that. [Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520140944828010697] [2026-06-28T09:46:37.153Z] Marinara: You can just add a Blank option, though? [Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520727111617347786] [2026-06-28T09:47:01.308Z] Marinara: Oh, wait, it can't be empty. I'll make it so it can. [Discord message: https://discord.com/channels/1417099416812392641/1520134285947048039/1520727212930629663] ``` </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:36:41 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Jun 28, 2026):

Addressed in draft PR #2916 (commit 51dcf81e) as part of the June 28 issue sweep. Validation passed locally with pnpm check. Closing per maintainer request; please reopen or comment on the PR if anything still reproduces.

<!-- gh-comment-id:4826060645 --> @SpicyMarinara commented on GitHub (Jun 28, 2026): Addressed in draft PR #2916 (commit 51dcf81e) as part of the June 28 issue sweep. Validation passed locally with `pnpm check`. Closing per maintainer request; please reopen or comment on the PR if anything still reproduces.
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#1488
No description provided.