[PR #3698] [MERGED] Raise routine summary output budget #6057

Closed
opened 2026-10-23 04:06:41 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3698
Author: @SpicyMarinara
Created: 7/16/2026
Status: ✅ Merged
Merged: 7/16/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/issue-3696-routine-summary-budget


📝 Commits (3)

  • ed234a7 Raise routine summary output budget
  • 5d10e9e Test routine summary request options
  • 7dc680f Merge remote-tracking branch 'origin/staging' into agent/issue-3696-routine-summary-budget

📊 Changes

3 files changed (+50 additions, -2 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/server/src/services/conversation/schedule.service.ts (+7 -1)
📝 scripts/regressions/open-issues.regression.ts (+42 -1)

📄 Description

Linked issue

Closes #3696

Why this change

  • Conversation routine summaries were hard-capped at 512 output tokens even when a Connection requested a larger limit. Reasoning-capable models could spend that entire allowance on hidden reasoning and return no visible summary.

What changed

  • Use an 8,192-token default for routine-summary generations.
  • Honor explicit Connection output-token overrides instead of clamping them back to 512.
  • Request low reasoning effort for the short summary task.
  • Add regression coverage for the default, higher override, and explicit lower-cap cases.
  • Document the fix in the changelog.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Automated checks run

  • pnpm regression:issues
  • pnpm check
  • pnpm version:check

Manual verification notes

  • Manually verify routine-summary generation with a reasoning-capable OpenAI-compatible Connection and no output-token override.
  • Manually verify that an 8,192-or-higher Connection override is forwarded unchanged and produces visible summary text.
  • Manually verify that an intentionally lower Connection cap remains respected.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

  • Not applicable; this is a server-side generation-budget fix.

Summary by CodeRabbit

  • Bug Fixes
    • Conversation routine summaries now support up to 8,192 tokens by default.
    • Larger configured token limits are now honored.
    • Summaries generated by reasoning models are more likely to include visible results.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3698 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/16/2026 **Status:** ✅ Merged **Merged:** 7/16/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/issue-3696-routine-summary-budget` --- ### 📝 Commits (3) - [`ed234a7`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ed234a7c7796a2fc1468ba5b12f1bbd42981ade5) Raise routine summary output budget - [`5d10e9e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5d10e9eb4791c203fc1ad914011219cb68500df2) Test routine summary request options - [`7dc680f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/7dc680f4bec78c38aa9a7b0f98af1dd48b80f0e8) Merge remote-tracking branch 'origin/staging' into agent/issue-3696-routine-summary-budget ### 📊 Changes **3 files changed** (+50 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/server/src/services/conversation/schedule.service.ts` (+7 -1) 📝 `scripts/regressions/open-issues.regression.ts` (+42 -1) </details> ### 📄 Description ## Linked issue Closes #3696 ## Why this change - Conversation routine summaries were hard-capped at 512 output tokens even when a Connection requested a larger limit. Reasoning-capable models could spend that entire allowance on hidden reasoning and return no visible summary. ## What changed - Use an 8,192-token default for routine-summary generations. - Honor explicit Connection output-token overrides instead of clamping them back to 512. - Request low reasoning effort for the short summary task. - Add regression coverage for the default, higher override, and explicit lower-cap cases. - Document the fix in the changelog. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Automated checks run - `pnpm regression:issues` - `pnpm check` - `pnpm version:check` ### Manual verification notes - Manually verify routine-summary generation with a reasoning-capable OpenAI-compatible Connection and no output-token override. - Manually verify that an 8,192-or-higher Connection override is forwarded unchanged and produces visible summary text. - Manually verify that an intentionally lower Connection cap remains respected. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) - Not applicable; this is a server-side generation-budget fix. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Conversation routine summaries now support up to 8,192 tokens by default. * Larger configured token limits are now honored. * Summaries generated by reasoning models are more likely to include visible results. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:06:41 +07:00
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#6057
No description provided.