[GH-ISSUE #7937] [Issue]: Remove unintended 128k context setting from the default Marinara Spaghetti Recipe preset #4362

Closed
opened 2026-10-22 04:06:01 +07:00 by bsakaguchi · 3 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Remove the unintended 128k context setting from the default Marinara's Universal Preset. The maintainer did not add or request this limit, and the default preset should allow the selected model's available context capacity.

Expected behavior

The default preset should use the selected model/connection's context capacity without imposing a preset-specific 128,000-token ceiling. Models with larger context windows should be able to use that capacity.

Actual behavior

The bundled default preset stores "maxContext":128000 in its serialized parameters, alongside "useMaxContext":true. The maintainer reports this 128k setting is unintended and requests its removal.

The stored value is confirmed in source; runtime truncation to 128k has not been reproduced.

Steps to reproduce

  1. Inspect the bundled default preset on staging.
  2. Read its serialized parameters field.
  3. Observe "maxContext":128000 together with "useMaxContext":true.

Environment

  • Marinara Engine version: Not provided; bundled preset inspected on staging.
  • Install type: Not provided.
  • OS + version: Not provided.
  • Browser or app shell: Not provided.

Logs, screenshots, or video

No logs, screenshots, or video supplied. Source inspection confirms the stored 128k value.

Additional context

  • Requested by @SpicyMarinara.
  • The preset was identified by the maintainer as the default Marinara Spaghetti Recipe preset. The bundled JSON currently names it Marinara's Universal Preset.
  • Current context resolution in model-access-policy.ts uses the model/connection context when useMaxContext is true. Preserve that behavior when removing the unintended setting, and verify that applying the default preset cannot impose a 128k ceiling on a model with a larger context window.
  • Keep the change focused on the default preset's context configuration.

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 (Oct 21, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7937 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Remove the unintended 128k context setting from the default Marinara's Universal Preset. The maintainer did not add or request this limit, and the default preset should allow the selected model's available context capacity. ## Expected behavior The default preset should use the selected model/connection's context capacity without imposing a preset-specific 128,000-token ceiling. Models with larger context windows should be able to use that capacity. ## Actual behavior The bundled default preset stores `"maxContext":128000` in its serialized parameters, alongside `"useMaxContext":true`. The maintainer reports this 128k setting is unintended and requests its removal. The stored value is confirmed in source; runtime truncation to 128k has not been reproduced. ## Steps to reproduce 1. Inspect [the bundled default preset on staging](https://github.com/Pasta-Devs/Marinara-Engine/blob/staging/packages/server/src/db/default-preset.json#L16). 2. Read its serialized `parameters` field. 3. Observe `"maxContext":128000` together with `"useMaxContext":true`. ## Environment - Marinara Engine version: Not provided; bundled preset inspected on `staging`. - Install type: Not provided. - OS + version: Not provided. - Browser or app shell: Not provided. ## Logs, screenshots, or video No logs, screenshots, or video supplied. Source inspection confirms the stored 128k value. ## Additional context - Requested by @SpicyMarinara. - The preset was identified by the maintainer as the default Marinara Spaghetti Recipe preset. The bundled JSON currently names it `Marinara's Universal Preset`. - Current context resolution in [model-access-policy.ts](https://github.com/Pasta-Devs/Marinara-Engine/blob/staging/packages/server/src/services/generation/model-access-policy.ts#L51) uses the model/connection context when `useMaxContext` is true. Preserve that behavior when removing the unintended setting, and verify that applying the default preset cannot impose a 128k ceiling on a model with a larger context window. - Keep the change focused on the default preset's context configuration. ## 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-22 04:06:01 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 21, 2026):

Actually, just remove the preset caps entirely; these should be handled in the Advanced Parameters/Connections settings, not in presets.

<!-- gh-comment-id:6312480220 --> @SpicyMarinara commented on GitHub (Oct 21, 2026): Actually, just remove the preset caps entirely; these should be handled in the Advanced Parameters/Connections settings, not in presets.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 21, 2026):

Codex is implementing this for @SpicyMarinara on fix/preset-caps-and-reasoning-defaults, including the maintainer clarification to remove preset-owned context/output caps while preserving Connections and chat Advanced Parameters controls. A linked draft PR will track the work.

<!-- gh-comment-id:6312645236 --> @SpicyMarinara commented on GitHub (Oct 21, 2026): Codex is implementing this for @SpicyMarinara on `fix/preset-caps-and-reasoning-defaults`, including the maintainer clarification to remove preset-owned context/output caps while preserving Connections and chat Advanced Parameters controls. A linked draft PR will track the work.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 21, 2026):

Implemented in #7940 and merged to staging at ca59e5a87a7df5d91801d23f3169a48d61b86886. Following the maintainer clarification, presets no longer carry context or output-token caps at all; those belong to connection defaults and chat Advanced Parameters. Legacy preset cap fields are stripped/ignored consistently in storage, previews and generation. Focused preset and prompt regressions passed, as did required hosted checks and substantive final-head CodeRabbit review. Merge ancestry is verified.

<!-- gh-comment-id:6313293959 --> @SpicyMarinara commented on GitHub (Oct 21, 2026): Implemented in #7940 and merged to `staging` at `ca59e5a87a7df5d91801d23f3169a48d61b86886`. Following the maintainer clarification, presets no longer carry context or output-token caps at all; those belong to connection defaults and chat Advanced Parameters. Legacy preset cap fields are stripped/ignored consistently in storage, previews and generation. Focused preset and prompt regressions passed, as did required hosted checks and substantive final-head CodeRabbit review. Merge ancestry is verified.
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#4362
No description provided.