[GH-ISSUE #1050] [Feature]: Let Knowledge Retrieval and Router use chat active lorebooks #514

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

Originally created by @cha1latte on GitHub (May 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1050

Originally assigned to: @cha1latte on GitHub.

What problem does this solve?

Knowledge Retrieval and Knowledge Router currently require users to manually select source lorebooks inside each agent's settings. This is confusing when a chat already has active lorebooks: users expect adding the agent to the conversation to make it scan the lorebooks connected to that conversation.

The manual source selection also creates story-switching friction. A user may need to activate one lorebook for an RP, finish that RP, then return to the agent settings and select a different lorebook for the next story.

Proposed solution

Add an option for Knowledge Retrieval and Knowledge Router to use the chat's active lorebooks automatically.

For example:

  • Add a setting such as "Use this chat's active lorebooks" in the Knowledge Sources section.
  • When enabled, the agent should route/retrieve over the lorebooks already active for the current chat.
  • Keep the existing manual lorebook picker as an override for users who want the agent to scan a fixed set of lorebooks.
  • Make the UI copy clear that entry descriptions help Knowledge Router choose entries, but descriptions are not triggers by themselves.

Alternatives considered

Keep the current manual Knowledge Sources picker only, but this is easy to miss and makes the agents feel broken when no source lorebook is selected.

Document the current setup flow more clearly, but documentation alone does not remove the per-story source switching friction.

Additional context

This came from user confusion while trying Knowledge Retrieval/Knowledge Router. They added the agents to a conversation and filled lorebook entry descriptions, but saw no extra Kobold request or token-count change because no source lorebook had been selected in the agent settings.

The current manual picker is useful for advanced cases, but the default user expectation is that a chat-scoped agent should be able to use the chat's active lorebooks.

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 @cha1latte on GitHub (May 20, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1050 Originally assigned to: @cha1latte on GitHub. ## What problem does this solve? Knowledge Retrieval and Knowledge Router currently require users to manually select source lorebooks inside each agent's settings. This is confusing when a chat already has active lorebooks: users expect adding the agent to the conversation to make it scan the lorebooks connected to that conversation. The manual source selection also creates story-switching friction. A user may need to activate one lorebook for an RP, finish that RP, then return to the agent settings and select a different lorebook for the next story. ## Proposed solution Add an option for Knowledge Retrieval and Knowledge Router to use the chat's active lorebooks automatically. For example: - Add a setting such as "Use this chat's active lorebooks" in the Knowledge Sources section. - When enabled, the agent should route/retrieve over the lorebooks already active for the current chat. - Keep the existing manual lorebook picker as an override for users who want the agent to scan a fixed set of lorebooks. - Make the UI copy clear that entry descriptions help Knowledge Router choose entries, but descriptions are not triggers by themselves. ## Alternatives considered Keep the current manual Knowledge Sources picker only, but this is easy to miss and makes the agents feel broken when no source lorebook is selected. Document the current setup flow more clearly, but documentation alone does not remove the per-story source switching friction. ## Additional context This came from user confusion while trying Knowledge Retrieval/Knowledge Router. They added the agents to a conversation and filled lorebook entry descriptions, but saw no extra Kobold request or token-count change because no source lorebook had been selected in the agent settings. The current manual picker is useful for advanced cases, but the default user expectation is that a chat-scoped agent should be able to use the chat's active lorebooks. ## 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.
Author
Owner

@cha1latte commented on GitHub (May 20, 2026):

Triage note: labeling this as normal-scope because it is a focused usability improvement for existing Knowledge Retrieval/Router and lorebook selection behavior, without introducing a new product lane.

The least risky next step is to add an opt-in "use chat active lorebooks" source mode while preserving the current manual source picker for advanced setups.

<!-- gh-comment-id:4501668572 --> @cha1latte commented on GitHub (May 20, 2026): Triage note: labeling this as `normal-scope` because it is a focused usability improvement for existing Knowledge Retrieval/Router and lorebook selection behavior, without introducing a new product lane. The least risky next step is to add an opt-in "use chat active lorebooks" source mode while preserving the current manual source picker for advanced setups.
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#514
No description provided.