[GH-ISSUE #5913] [Issue]: Sticky Messages does not respect configured count for grouped Lorebook entries #3269

Closed
opened 2026-10-21 06:01:31 +07:00 by bsakaguchi · 2 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The Sticky Messages option appears to malfunction when Lorebook entries are grouped. Grouped messages are randomly cycled, causing a different message to remain active regardless of the sticky message count configured for an entry.

Expected behavior

Grouped Lorebook entries should honor each entry's configured Sticky Messages count and keep the expected number of messages active.

Actual behavior

Messages in grouped Lorebook entries are randomly cycled, and a different message remains active regardless of the number configured in the entry's Sticky Messages setting.

Steps to reproduce

  1. Create or use several Lorebook messages that are grouped together.
  2. Configure the Sticky Messages option with a specific message count for a grouped entry.
  3. Activate the grouped Lorebook entries.
  4. Observe that the messages are randomly cycled and that the configured sticky count is not respected.

Environment

  • Marinara Engine version: 2.4.4 (build 2.4.4+1a299369ac70, commit 1a299369ac)
  • Install type: Not provided
  • OS + version: Server: Windows 10.0.19045 (x64); client: Windows 10.0
  • Browser or app shell: Chrome 152.0.0.0 via Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36

Logs, screenshots, or video

No logs, screenshots, or video provided. Support diagnostics were provided; the reported GPU information belongs to the client machine connecting to Marinara Engine.

Additional context

Active connection: llama.cpp. Connection provider: custom. LLM model: gemma-4-31B-it-QAT-Q4_0.gguf.

Discord thread: Recent Lorebook issue.
Discord thread link: https://discord.com/channels/1417099416812392641/1546181170612543629
Requested by: Kuc0 (kuc0, Discord ID 108988150629531648)

Discord thread transcript (3 messages)
[2026-09-06T15:31:57.731Z] CrazyMax: The 'Sticky Messages' option don't seem to be working properly now when the Lorebook entries are grouped. If you have several grouped messages they'll get randomly cycled so a different one is always active regardless of the number of messages defined in the sticky box of any entry.
[Discord message: https://discord.com/channels/1417099416812392641/1546181170612543629/1546181170612543629]

[2026-09-06T15:31:58.289Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1546181170612543629/1546181172952825999]

[2026-09-06T15:34:10.558Z] CrazyMax: Note on the diagnostics GPU info. This is not the machine running Marinara Engine, this is a client machine connecting to it.

Marinara Engine diagnostics
Version: 2.4.4
Build: 2.4.4+1a299369ac70
Commit: 1a299369ac70
Server OS: Windows 10.0.19045 (x64)
Server memory: heap 127 / 4288 MiB; RSS 161.4 MiB
Client OS: Windows 10.0
Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36
GPU: ANGLE (AMD, AMD Radeon RX 6800 (0x000073BF) Direct3D11 vs_5_0 ps_5_0, D3D11)
Active connection: llama.cpp
Connection provider: custom
LLM model: gemma-4-31B-it-QAT-Q4_0.gguf
[Discord message: https://discord.com/channels/1417099416812392641/1546181170612543629/1546181727729492070]

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 (Sep 7, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5913 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The Sticky Messages option appears to malfunction when Lorebook entries are grouped. Grouped messages are randomly cycled, causing a different message to remain active regardless of the sticky message count configured for an entry. ## Expected behavior Grouped Lorebook entries should honor each entry's configured Sticky Messages count and keep the expected number of messages active. ## Actual behavior Messages in grouped Lorebook entries are randomly cycled, and a different message remains active regardless of the number configured in the entry's Sticky Messages setting. ## Steps to reproduce 1. Create or use several Lorebook messages that are grouped together. 2. Configure the Sticky Messages option with a specific message count for a grouped entry. 3. Activate the grouped Lorebook entries. 4. Observe that the messages are randomly cycled and that the configured sticky count is not respected. ## Environment - Marinara Engine version: 2.4.4 (build 2.4.4+1a299369ac70, commit 1a299369ac70) - Install type: Not provided - OS + version: Server: Windows 10.0.19045 (x64); client: Windows 10.0 - Browser or app shell: Chrome 152.0.0.0 via Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36 ## Logs, screenshots, or video No logs, screenshots, or video provided. Support diagnostics were provided; the reported GPU information belongs to the client machine connecting to Marinara Engine. ## Additional context Active connection: llama.cpp. Connection provider: custom. LLM model: gemma-4-31B-it-QAT-Q4_0.gguf. Discord thread: Recent Lorebook issue. Discord thread link: https://discord.com/channels/1417099416812392641/1546181170612543629 Requested by: Kuc0 (kuc0, Discord ID 108988150629531648) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-09-06T15:31:57.731Z] CrazyMax: The 'Sticky Messages' option don't seem to be working properly now when the Lorebook entries are grouped. If you have several grouped messages they'll get randomly cycled so a different one is always active regardless of the number of messages defined in the sticky box of any entry. [Discord message: https://discord.com/channels/1417099416812392641/1546181170612543629/1546181170612543629] [2026-09-06T15:31:58.289Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1546181170612543629/1546181172952825999] [2026-09-06T15:34:10.558Z] CrazyMax: Note on the diagnostics GPU info. This is not the machine running Marinara Engine, this is a client machine connecting to it. Marinara Engine diagnostics Version: 2.4.4 Build: 2.4.4+1a299369ac70 Commit: 1a299369ac70 Server OS: Windows 10.0.19045 (x64) Server memory: heap 127 / 4288 MiB; RSS 161.4 MiB Client OS: Windows 10.0 Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36 GPU: ANGLE (AMD, AMD Radeon RX 6800 (0x000073BF) Direct3D11 vs_5_0 ps_5_0, D3D11) Active connection: llama.cpp Connection provider: custom LLM model: gemma-4-31B-it-QAT-Q4_0.gguf [Discord message: https://discord.com/channels/1417099416812392641/1546181170612543629/1546181727729492070] ``` </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:01:31 +07:00
Author
Owner

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

Owner: @SpicyMarinara (Codex). Starting the grouped Sticky Messages fix in draft #5935, with a regression covering the configured lifetime and expiry.

<!-- gh-comment-id:5574382305 --> @SpicyMarinara commented on GitHub (Sep 7, 2026): Owner: @SpicyMarinara (Codex). Starting the grouped Sticky Messages fix in draft #5935, with a regression covering the configured lifetime and expiry.
Author
Owner

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

Landed on staging in #5935 after the full regression matrix and CodeRabbit review passed. Included focused regression coverage for the reported behavior; main is unchanged.

<!-- gh-comment-id:5575777452 --> @SpicyMarinara commented on GitHub (Sep 7, 2026): Landed on staging in #5935 after the full regression matrix and CodeRabbit review passed. Included focused regression coverage for the reported behavior; main is unchanged.
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#3269
No description provided.