[GH-ISSUE #4154] [Issue]: Add Outlet macros for lorebooks #2251

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Add SillyTavern-style Outlet macros that allow prompts to reference a lorebook entry or group of entries using syntax such as {{outlet::key}}.

Expected behavior

Users should be able to designate lorebook entries as named outlets and reference their content through an Outlet macro.

Actual behavior

No option to configure lorebook entries as outlets or reference them through an Outlet macro was found in the interface.

Steps to reproduce

  1. Open a lorebook entry in Marinara Engine.
  2. Look for an option to designate the entry as an outlet and assign an outlet name.
  3. Attempt to reference the entry using syntax such as {{outlet::key}}.

Environment

  • Marinara Engine version: 2.3.4
  • Install type: other (shell script)
  • OS + version: Linux; version not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

No logs, screenshots, or video provided. References: https://docs.sillytavern.app/usage/core-concepts/macros/ ; https://docs.sillytavern.app/usage/core-concepts/worldinfo/#outlet-name ; https://github.com/aikohanasaki/imagehost/blob/main/Outlet%20Prompting%20for%20SillyTavern%20Part%201.pdf

Additional context

The primary chatting mode is Roleplay, but the requested feature is intended for all modes. The requester reports that Outlet prompting is sometimes necessary to make a character work as intended.

Discord thread: Outlet Macros
Discord thread link: https://discord.com/channels/1417099416812392641/1531071479167320276
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (6 messages)
[2026-07-26T22:51:26.566Z] phazer11: Could we get SillyTavern like Outlet macros for lorebooks? If this is already available, I'm not finding it in the interface in ST you go to the lorebook entry and tell it if it's an outlet and which one. Basically, I'd like to call a macro that references a lorebook entry or group of entries. In the vein of {{outlet::key}} has been a really helpful feature of ST and sometimes the only way to get a character to work for me.
https://docs.sillytavern.app/usage/core-concepts/macros/
https://docs.sillytavern.app/usage/core-concepts/worldinfo/#outlet-name
https://github.com/aikohanasaki/imagehost/blob/main/Outlet%20Prompting%20for%20SillyTavern%20Part%201.pdf

Using Linux
Shell Script
ME 2.3.4
Primary Chatting mode is Roleplay but this is for all.
Macros | docs.ST.app
The Experimental Macro Engine supports nesting, stable substitution order, and other improvements. It is enabled by default for new installations. Existing installations can enable it in User Settings > Chat/Message Handling > Experimental Macro Engine.
World Info | docs.ST.app
World Info (also known as Lorebooks or Memory Books) is a powerful tool available in ST to insert prompts dynamically into your chat to help guide the AI replies.
imagehost/Outlet Prompting for SillyTavern Part 1.pdf at main · ai...
Contribute to aikohanasaki/imagehost development by creating an account on GitHub.
[Discord message: https://discord.com/channels/1417099416812392641/1531071479167320276/1531071479167320276]

[2026-07-26T23:01:19.806Z] Marinara: Oh, I have never heard of those before.
[Discord message: https://discord.com/channels/1417099416812392641/1531071479167320276/1531073967396360384]

[2026-07-26T23:01:24.478Z] Marinara: Macros are tricky though.
[Discord message: https://discord.com/channels/1417099416812392641/1531071479167320276/1531073986992275527]

[2026-07-26T23:02:49.473Z] Marinara: I see, at the bottom.
[Discord message: https://discord.com/channels/1417099416812392641/1531071479167320276/1531074343487148154]

[2026-07-26T23:02:56.400Z] Marinara: `{{outlet::key}}`
[Discord message: https://discord.com/channels/1417099416812392641/1531071479167320276/1531074372540956732]

[2026-07-26T23:03:41.922Z] Marinara: I can see that being useful.
[Discord message: https://discord.com/channels/1417099416812392641/1531071479167320276/1531074563474198608]

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 (Jul 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4154 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Add SillyTavern-style Outlet macros that allow prompts to reference a lorebook entry or group of entries using syntax such as `{{outlet::key}}`. ## Expected behavior Users should be able to designate lorebook entries as named outlets and reference their content through an Outlet macro. ## Actual behavior No option to configure lorebook entries as outlets or reference them through an Outlet macro was found in the interface. ## Steps to reproduce 1. Open a lorebook entry in Marinara Engine. 2. Look for an option to designate the entry as an outlet and assign an outlet name. 3. Attempt to reference the entry using syntax such as `{{outlet::key}}`. ## Environment - Marinara Engine version: 2.3.4 - Install type: other (shell script) - OS + version: Linux; version not provided - Browser or app shell: Not provided ## Logs, screenshots, or video No logs, screenshots, or video provided. References: https://docs.sillytavern.app/usage/core-concepts/macros/ ; https://docs.sillytavern.app/usage/core-concepts/worldinfo/#outlet-name ; https://github.com/aikohanasaki/imagehost/blob/main/Outlet%20Prompting%20for%20SillyTavern%20Part%201.pdf ## Additional context The primary chatting mode is Roleplay, but the requested feature is intended for all modes. The requester reports that Outlet prompting is sometimes necessary to make a character work as intended. Discord thread: Outlet Macros Discord thread link: https://discord.com/channels/1417099416812392641/1531071479167320276 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (6 messages)</summary> ```text [2026-07-26T22:51:26.566Z] phazer11: Could we get SillyTavern like Outlet macros for lorebooks? If this is already available, I'm not finding it in the interface in ST you go to the lorebook entry and tell it if it's an outlet and which one. Basically, I'd like to call a macro that references a lorebook entry or group of entries. In the vein of {{outlet::key}} has been a really helpful feature of ST and sometimes the only way to get a character to work for me. https://docs.sillytavern.app/usage/core-concepts/macros/ https://docs.sillytavern.app/usage/core-concepts/worldinfo/#outlet-name https://github.com/aikohanasaki/imagehost/blob/main/Outlet%20Prompting%20for%20SillyTavern%20Part%201.pdf Using Linux Shell Script ME 2.3.4 Primary Chatting mode is Roleplay but this is for all. Macros | docs.ST.app The Experimental Macro Engine supports nesting, stable substitution order, and other improvements. It is enabled by default for new installations. Existing installations can enable it in User Settings > Chat/Message Handling > Experimental Macro Engine. World Info | docs.ST.app World Info (also known as Lorebooks or Memory Books) is a powerful tool available in ST to insert prompts dynamically into your chat to help guide the AI replies. imagehost/Outlet Prompting for SillyTavern Part 1.pdf at main · ai... Contribute to aikohanasaki/imagehost development by creating an account on GitHub. [Discord message: https://discord.com/channels/1417099416812392641/1531071479167320276/1531071479167320276] [2026-07-26T23:01:19.806Z] Marinara: Oh, I have never heard of those before. [Discord message: https://discord.com/channels/1417099416812392641/1531071479167320276/1531073967396360384] [2026-07-26T23:01:24.478Z] Marinara: Macros are tricky though. [Discord message: https://discord.com/channels/1417099416812392641/1531071479167320276/1531073986992275527] [2026-07-26T23:02:49.473Z] Marinara: I see, at the bottom. [Discord message: https://discord.com/channels/1417099416812392641/1531071479167320276/1531074343487148154] [2026-07-26T23:02:56.400Z] Marinara: `{{outlet::key}}` [Discord message: https://discord.com/channels/1417099416812392641/1531071479167320276/1531074372540956732] [2026-07-26T23:03:41.922Z] Marinara: I can see that being useful. [Discord message: https://discord.com/channels/1417099416812392641/1531071479167320276/1531074563474198608] ``` </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:46:41 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 27, 2026):

Resolved by #4155, now merged into staging. Named, case-sensitive lorebook Outlets are supported across the editor, storage/import/export paths, prompt assembly, {{outlet::name}} macro expansion, documentation, and regression coverage.

<!-- gh-comment-id:5086120585 --> @SpicyMarinara commented on GitHub (Jul 27, 2026): Resolved by #4155, now merged into `staging`. Named, case-sensitive lorebook Outlets are supported across the editor, storage/import/export paths, prompt assembly, `{{outlet::name}}` macro expansion, documentation, and regression coverage.
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#2251
No description provided.