[GH-ISSUE #254] [Issue]: Lorebook Keeper agent generates entries without names in content. #97

Closed
opened 2026-10-20 17:25:06 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Barafu on GitHub (Apr 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/254

Summary

Lorebook Keeper agent needs a prompt improvement. The rule of all lorebooks is to contain the term of the entry in the main text, but Lorebook Keeper creates new entries without it.

Currently, when it creates a new entry, it goes like this:
name: Triangle
content: "A figure with three corners".
name: Square
content: "A figure with four corners."

When it should be:
name: Triangle
content: "Triangle is a figure with three corners".
name: Square
content: "A figure with four corners is called Square."

The problem is that only the content of entries is added to the prompt, without "name" field.

P.S. The bigger problem with it is that it adds unimportant transient NPCs to lorebook as soon as they have a name, littering lorebooks and preventing switching NPCs. But that is a much harder to define problem, I don't have a neat solution to suggest right now.

Environment

  • Marinara Engine version: 1.5.4
  • Install type: (source / installer / docker / termux / other) Docker
  • OS + version:
  • Browser or app shell:
Originally created by @Barafu on GitHub (Apr 27, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/254 ## Summary Lorebook Keeper agent needs a prompt improvement. The rule of all lorebooks is to contain the term of the entry in the main text, but Lorebook Keeper creates new entries without it. Currently, when it creates a new entry, it goes like this: name: Triangle content: "A figure with three corners". name: Square content: "A figure with four corners." When it should be: name: Triangle content: "Triangle is a figure with three corners". name: Square content: "A figure with four corners is called Square." The problem is that only the content of entries is added to the prompt, without "name" field. P.S. The bigger problem with it is that it adds unimportant transient NPCs to lorebook as soon as they have a name, littering lorebooks and preventing switching NPCs. But that is a much harder to define problem, I don't have a neat solution to suggest right now. ## Environment - Marinara Engine version: 1.5.4 - Install type: (source / installer / docker / termux / other) Docker - OS + version: - Browser or app shell:
bsakaguchi 2026-10-20 17:25:06 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

You can edit the prompt manually in the Agents tab.

<!-- gh-comment-id:4333798557 --> @SpicyMarinara commented on GitHub (Apr 28, 2026): You can edit the prompt manually in the Agents tab.
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#97
No description provided.