[GH-ISSUE #1002] [Feature]: Add per-agent model sampling overrides #489

Closed
opened 2026-10-20 17:29:26 +07:00 by bsakaguchi · 2 comments
Owner

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

What problem does this solve?

Users may want different sampling settings per agent than they use for the main LLM connection. For example, the main LLM can work well for narration and creative writing, while agent tasks such as quest tracking may need lower temperature or higher min_p to improve JSON adherence and agent output reliability.

The current workaround is to duplicate an existing connection queue with different settings, but that can create another connection request queue the user does not actually have.

Proposed solution

Add model sampling overrides on a per-agent basis so users can keep the same connection/model where appropriate while tuning sampling settings for individual agents.

Alternatives considered

Duplicate the existing connection queue with different sampling settings, but that may create an extra non-existent connection request queue.

Additional context

Source: Discord report from m;aemoifmpfmmafe.

Reported environment:

  • Release: v1.6.0
  • Build: c247b2e
  • Version/install: Linux/Docker

Use case from reporter: main LLM Gemma 4-31B for narration/creative writing; tracker LLMs such as Gemma 4-E4B may be less effective for some agent work than the main LLM with stricter sampling settings.

Discord thread: https://discord.com/channels/1417099416812392641/1506183563001991258

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 19, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1002 ## What problem does this solve? Users may want different sampling settings per agent than they use for the main LLM connection. For example, the main LLM can work well for narration and creative writing, while agent tasks such as quest tracking may need lower temperature or higher `min_p` to improve JSON adherence and agent output reliability. The current workaround is to duplicate an existing connection queue with different settings, but that can create another connection request queue the user does not actually have. ## Proposed solution Add model sampling overrides on a per-agent basis so users can keep the same connection/model where appropriate while tuning sampling settings for individual agents. ## Alternatives considered Duplicate the existing connection queue with different sampling settings, but that may create an extra non-existent connection request queue. ## Additional context Source: Discord report from m;aemoifmpfmmafe. Reported environment: - Release: v1.6.0 - Build: c247b2e - Version/install: Linux/Docker Use case from reporter: main LLM Gemma 4-31B for narration/creative writing; tracker LLMs such as Gemma 4-E4B may be less effective for some agent work than the main LLM with stricter sampling settings. Discord thread: https://discord.com/channels/1417099416812392641/1506183563001991258 ## 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 19, 2026):

Triage note: labeling this as scope-risk because per-agent sampling overrides touch agent configuration, connection/model routing, and structured-output reliability in a way that needs a clear settings model before implementation.

The least risky next step is to define one narrow first slice, such as sampling overrides for existing agent connection assignments, before expanding the setting across all agent types.

<!-- gh-comment-id:4488845650 --> @cha1latte commented on GitHub (May 19, 2026): Triage note: labeling this as `scope-risk` because per-agent sampling overrides touch agent configuration, connection/model routing, and structured-output reliability in a way that needs a clear settings model before implementation. The least risky next step is to define one narrow first slice, such as sampling overrides for existing agent connection assignments, before expanding the setting across all agent types.
Author
Owner

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

Thanks for the request. We’re going to close this for now because it is larger than the QoL-focused feature work currently being prioritized.

Per-agent sampling overrides would affect agent configuration, connection/model routing, settings ownership, and structured-output reliability. So, unfortunately that makes it a broader agent/settings architecture change rather than a small surface-level improvement.

If this comes back later, we should narrow it to one concrete first slice with a clear settings model

<!-- gh-comment-id:4512120475 --> @cha1latte commented on GitHub (May 21, 2026): Thanks for the request. We’re going to close this for now because it is larger than the QoL-focused feature work currently being prioritized. Per-agent sampling overrides would affect agent configuration, connection/model routing, settings ownership, and structured-output reliability. So, unfortunately that makes it a broader agent/settings architecture change rather than a small surface-level improvement. If this comes back later, we should narrow it to one concrete first slice with a clear settings model
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#489
No description provided.