[PR #4571] [MERGED] Use connection temperatures for summaries and accent destructive actions #6426

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4571
Author: @SpicyMarinara
Created: 8/4/2026
Status: ✅ Merged
Merged: 8/4/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/summary-temperature-and-accent-actions


📝 Commits (4)

  • ebf4a85 Use connection temperature for summaries and accent actions
  • 322b5ba Merge branch 'staging' into agent/summary-temperature-and-accent-actions
  • 78023da Address summary temperature review feedback
  • 2d646c3 Merge branch 'staging' into agent/summary-temperature-and-accent-actions

📊 Changes

6 files changed (+64 additions, -14 deletions)

View changed files

📝 packages/client/src/styles/globals.css (+4 -4)
📝 packages/client/src/styles/themes/sillytavern.css (+4 -4)
📝 packages/server/src/routes/chats.routes.ts (+7 -3)
📝 packages/server/src/routes/generate.routes.ts (+6 -2)
📝 packages/server/src/services/chat-summary/connection-resolution.ts (+23 -1)
📝 scripts/regressions/conversation-summary.regression.ts (+20 -0)

📄 Description

Linked issue

No linked issue. This change was requested directly by the maintainer.

Why this change

Roleplay summaries currently force a hard-coded temperature even when the selected connection supplies a user-configured value or disables temperature entirely. Destructive controls also use fixed red colors instead of following Marinara's active theme accent.

What changed

  • Resolve the stored connection temperature for chat summaries when that parameter is enabled.
  • Apply the resolved temperature to manual summaries, combined summaries, and automatic summaries.
  • Omit temperature from provider requests when the selected connection disables it.
  • Make destructive colors inherit the primary accent and foreground tokens in the default and SillyTavern themes.

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

Additional automated checks completed:

  • pnpm --filter @marinara-engine/client lint
  • pnpm --filter @marinara-engine/client build
  • pnpm --filter @marinara-engine/server lint
  • pnpm regression:conversation-summary
  • git diff --check

Manual verification notes

Not performed. Manually verify summary requests with temperature enabled and disabled, then inspect destructive controls in default and SillyTavern themes in both light and dark mode.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] <paths> follow-up issue opened
  • Version/release files updated (only if this PR includes a version bump)

No user-facing documentation or release metadata was changed.

UI evidence

No screenshots attached.

Summary by CodeRabbit

  • Style

    • Destructive color handling in themes now derives from primary theme tokens instead of fixed values.
    • SillyTavern theme updated to reference primary and primary-foreground variables for improved consistency.
  • Chores

    • Summary and roleplay generation temperature settings now dynamically derive from chat connection configuration instead of using fixed values.

🔄 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/4571 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/4/2026 **Status:** ✅ Merged **Merged:** 8/4/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/summary-temperature-and-accent-actions` --- ### 📝 Commits (4) - [`ebf4a85`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ebf4a859aa23c75af1bc399dc77d327c580708d4) Use connection temperature for summaries and accent actions - [`322b5ba`](https://github.com/Pasta-Devs/Marinara-Engine/commit/322b5ba52fe165e4b149f3fe8543c6dc48116aeb) Merge branch 'staging' into agent/summary-temperature-and-accent-actions - [`78023da`](https://github.com/Pasta-Devs/Marinara-Engine/commit/78023da58806143798d03057307d64d40ad187e8) Address summary temperature review feedback - [`2d646c3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2d646c3769bc47fd36d52a4b4b2535e0d9063529) Merge branch 'staging' into agent/summary-temperature-and-accent-actions ### 📊 Changes **6 files changed** (+64 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/styles/globals.css` (+4 -4) 📝 `packages/client/src/styles/themes/sillytavern.css` (+4 -4) 📝 `packages/server/src/routes/chats.routes.ts` (+7 -3) 📝 `packages/server/src/routes/generate.routes.ts` (+6 -2) 📝 `packages/server/src/services/chat-summary/connection-resolution.ts` (+23 -1) 📝 `scripts/regressions/conversation-summary.regression.ts` (+20 -0) </details> ### 📄 Description ## Linked issue No linked issue. This change was requested directly by the maintainer. ## Why this change Roleplay summaries currently force a hard-coded temperature even when the selected connection supplies a user-configured value or disables temperature entirely. Destructive controls also use fixed red colors instead of following Marinara's active theme accent. ## What changed - Resolve the stored connection temperature for chat summaries when that parameter is enabled. - Apply the resolved temperature to manual summaries, combined summaries, and automatic summaries. - Omit temperature from provider requests when the selected connection disables it. - Make destructive colors inherit the primary accent and foreground tokens in the default and SillyTavern themes. ## 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` Additional automated checks completed: - `pnpm --filter @marinara-engine/client lint` - `pnpm --filter @marinara-engine/client build` - `pnpm --filter @marinara-engine/server lint` - `pnpm regression:conversation-summary` - `git diff --check` ### Manual verification notes Not performed. Manually verify summary requests with temperature enabled and disabled, then inspect destructive controls in default and SillyTavern themes in both light and dark mode. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n] <paths>` follow-up issue opened - [ ] Version/release files updated (only if this PR includes a version bump) No user-facing documentation or release metadata was changed. ## UI evidence No screenshots attached. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Style** * Destructive color handling in themes now derives from primary theme tokens instead of fixed values. * SillyTavern theme updated to reference primary and primary-foreground variables for improved consistency. * **Chores** * Summary and roleplay generation temperature settings now dynamically derive from chat connection configuration instead of using fixed values. <!-- 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:10:19 +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#6426
No description provided.