[GH-ISSUE #4527] [Issue]: Allow system generations to use selected agent connections and parameters #2468

Closed
opened 2026-10-21 05:48:29 +07:00 by bsakaguchi · 2 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

System generations such as conversation and call summaries currently use the chat connection instead of a selectable agent connection. Add connection selection and ensure Custom Parameters and Reasoning Effort are respected for these generations.

Expected behavior

Users should be able to select which connection system generations use, including separate controls for Calls in Agents and Automatic Summarization in Chat Settings. The selected connection should use its Custom Parameters and Reasoning Effort, with call summaries allowing at least 4096 output tokens unless overridden by the connection parameters.

Actual behavior

Conversation summaries and other listed system generations run on the chat connection, so Custom Parameters configured on the agent connection do not reach them. Conversation summaries may receive a partial chat connection without defaultParameters, dropping Custom Parameters. Call summaries use a hardcoded maxTokens value of 600, causing reasoning-heavy models to exhaust the budget and save raw, incomplete thinking as the summary.

Steps to reproduce

  1. Configure a local reasoning model on an agent connection with Custom Parameters such as enable_thinking: false and reasoning_effort: "none".
  2. Use that agent connection as the default agent connection while the chat connection remains configured for normal chat.
  3. Trigger a conversation daily or weekly summary, or a call summary.
  4. Observe that the generation uses the chat connection or lacks the configured Custom Parameters, and that call summaries can be truncated at the 600-token limit.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Not provided in Discord context.

Additional context

The requested behavior is to reuse the existing summary connection resolution: summary connection → default agent connection → chat connection. Other system generations believed to use the chat connection are scene generation, encounter generation, and gallery/image prompt generation. The resulting incomplete call summaries can contain thousands of characters of raw reasoning such as "Draft 1 / Refining for constraints" and are then used as source material for weekly summaries. Marinara indicated that toggles could be added for Calls in Agents and Automatic Summarization in Chat Settings.

Discord thread: [Feature Request] Let summaries and other system generations use the agent connection
Discord thread link: https://discord.com/channels/1417099416812392641/1533856810044489748
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (2 messages)
[2026-08-03T15:19:21.196Z] Kat: I run a local reasoning model. I want reasoning on for chat and off for background generations, and right now there's no way to get that.

I put Custom Parameters (enable_thinking: false, reasoning_effort: "none") on my agent connection and they never reach my conversation summaries — those run on the chat connection instead. I can't turn reasoning off in KoboldAI either, because that kills it for normal chat/rp too.

Chat summaries already do exactly what I want: summary connection → default agent connection → chat connection. Could that same resolution be used for the other system generations, and could they respect that connection's Custom Parameters and Reasoning Effort?

The ones I beleive run on the chat connection (with the first two being the ones I'm currently having the issue with specifically):

- Conversation daily/weekly summaries
- Call summaries (Calls package)
- Scene generation
- Encounter generation
- Gallery / image prompt generation

Two specifics in case they help:

1. Conversation summaries get handed a partial copy of the chat connection that doesn't include defaultParameters, so Custom Parameters are dropped there even when they're set on the chat connection.
1. The Calls package summarises with a hardcoded maxTokens: 600. My model spends the whole budget thinking, gets cut off before it finishes, and the raw thinking gets saved as the summary — a couple thousand characters of "Draft 1 / Refining for constraints". That then gets fed into the weekly summary as source material, so it spreads.
[Discord message: https://discord.com/channels/1417099416812392641/1533856810044489748/1533856810044489748]

[2026-08-03T15:41:26.892Z] Marinara: Yes, I can add toggles to both Calls in Agents and Automatic Summarization in Chat Settings that let you choose which connection to use for those summaries. The call summaries should allow at least 4096 tokens as an output, but that should be overwritten by the connection parameters.
[Discord message: https://discord.com/channels/1417099416812392641/1533856810044489748/1533862370416529468]

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 (Aug 3, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4527 Originally assigned to: @SpicyMarinara on GitHub. ## Summary System generations such as conversation and call summaries currently use the chat connection instead of a selectable agent connection. Add connection selection and ensure Custom Parameters and Reasoning Effort are respected for these generations. ## Expected behavior Users should be able to select which connection system generations use, including separate controls for Calls in Agents and Automatic Summarization in Chat Settings. The selected connection should use its Custom Parameters and Reasoning Effort, with call summaries allowing at least 4096 output tokens unless overridden by the connection parameters. ## Actual behavior Conversation summaries and other listed system generations run on the chat connection, so Custom Parameters configured on the agent connection do not reach them. Conversation summaries may receive a partial chat connection without defaultParameters, dropping Custom Parameters. Call summaries use a hardcoded maxTokens value of 600, causing reasoning-heavy models to exhaust the budget and save raw, incomplete thinking as the summary. ## Steps to reproduce 1. Configure a local reasoning model on an agent connection with Custom Parameters such as enable_thinking: false and reasoning_effort: "none". 2. Use that agent connection as the default agent connection while the chat connection remains configured for normal chat. 3. Trigger a conversation daily or weekly summary, or a call summary. 4. Observe that the generation uses the chat connection or lacks the configured Custom Parameters, and that call summaries can be truncated at the 600-token limit. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Not provided in Discord context. ## Additional context The requested behavior is to reuse the existing summary connection resolution: summary connection → default agent connection → chat connection. Other system generations believed to use the chat connection are scene generation, encounter generation, and gallery/image prompt generation. The resulting incomplete call summaries can contain thousands of characters of raw reasoning such as "Draft 1 / Refining for constraints" and are then used as source material for weekly summaries. Marinara indicated that toggles could be added for Calls in Agents and Automatic Summarization in Chat Settings. Discord thread: [Feature Request] Let summaries and other system generations use the agent connection Discord thread link: https://discord.com/channels/1417099416812392641/1533856810044489748 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-08-03T15:19:21.196Z] Kat: I run a local reasoning model. I want reasoning on for chat and off for background generations, and right now there's no way to get that. I put Custom Parameters (enable_thinking: false, reasoning_effort: "none") on my agent connection and they never reach my conversation summaries — those run on the chat connection instead. I can't turn reasoning off in KoboldAI either, because that kills it for normal chat/rp too. Chat summaries already do exactly what I want: summary connection → default agent connection → chat connection. Could that same resolution be used for the other system generations, and could they respect that connection's Custom Parameters and Reasoning Effort? The ones I beleive run on the chat connection (with the first two being the ones I'm currently having the issue with specifically): - Conversation daily/weekly summaries - Call summaries (Calls package) - Scene generation - Encounter generation - Gallery / image prompt generation Two specifics in case they help: 1. Conversation summaries get handed a partial copy of the chat connection that doesn't include defaultParameters, so Custom Parameters are dropped there even when they're set on the chat connection. 1. The Calls package summarises with a hardcoded maxTokens: 600. My model spends the whole budget thinking, gets cut off before it finishes, and the raw thinking gets saved as the summary — a couple thousand characters of "Draft 1 / Refining for constraints". That then gets fed into the weekly summary as source material, so it spreads. [Discord message: https://discord.com/channels/1417099416812392641/1533856810044489748/1533856810044489748] [2026-08-03T15:41:26.892Z] Marinara: Yes, I can add toggles to both Calls in Agents and Automatic Summarization in Chat Settings that let you choose which connection to use for those summaries. The call summaries should allow at least 4096 tokens as an output, but that should be overwritten by the connection parameters. [Discord message: https://discord.com/channels/1417099416812392641/1533856810044489748/1533862370416529468] ``` </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:48:29 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 4, 2026):

Implementation has started in draft PR #4553. Owner: @SpicyMarinara.

<!-- gh-comment-id:5175454776 --> @SpicyMarinara commented on GitHub (Aug 4, 2026): Implementation has started in draft PR #4553. Owner: @SpicyMarinara.
Author
Owner

@SpicyMarinara commented on GitHub (Aug 4, 2026):

Delivered to staging via #4553 (merge commit 7708b7f0b2).

<!-- gh-comment-id:5175920542 --> @SpicyMarinara commented on GitHub (Aug 4, 2026): Delivered to staging via #4553 (merge commit 7708b7f0b2581b90ae4fdc9e2eba787796005fab).
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#2468
No description provided.