[GH-ISSUE #1038] [Issue]: Max Output Tokens silently clamps 35000 to 25000 #511

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

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

Originally assigned to: @cha1latte on GitHub.

Summary

Editing Max Output Tokens under Advanced Parameters silently clamps the value. In the provided video, setting it to 35000 immediately changes it to 25000 with no visible error.

Source Discord thread: https://discord.com/channels/1417099416812392641/1480379733173731458/threads/1506416754757341214

Reporter: Pomtherine

Expected behavior

When a user enters a Max Output Tokens value, Marinara should either preserve the entered value when valid or clearly explain why it must be clamped/rejected.

Actual behavior

Setting Max Output Tokens to 35000 under Advanced Parameters immediately changes it to 25000 with no visible error. Another Discord user reported having the same problem and needing a higher value for ending a game mode session.

Steps to reproduce

  1. Open Advanced Parameters.
  2. Edit Max Output Tokens.
  3. Enter 35000.
  4. Observe that the field immediately changes to 25000 without an error message.

Marinara Engine version

v1.6.0

Install type

Termux

OS + version

Android via Termux

Browser or app shell

Mobile browser, exact browser not specified.

Screenshots or video

Behavior was observed in a video provided to triage, but no uploadable video file is attached to this issue. See the source Discord thread for context.

Logs

The reporter pasted repeated memory-recall warnings from Termux:

{"level":40,"msg":"[memory-recall] Local embeddings are unavailable and no embedding connection is configured"}

These may be unrelated to the max-output-token UI behavior.

Additional context

The user is running Marinara at http://127.0.0.1:7860/ with LAN access shown as http://192.0.0.2:7860/.

Template check

  • I provided the required summary, behavior, reproduction, and environment details.
  • If this is a visual/UI bug, blank screen, layout issue, mobile/responsive issue, incorrect image or sprite, broken animation, or unexpected error state, I attached screenshots or video.
Originally created by @cha1latte on GitHub (May 20, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1038 Originally assigned to: @cha1latte on GitHub. ## Summary Editing `Max Output Tokens` under Advanced Parameters silently clamps the value. In the provided video, setting it to `35000` immediately changes it to `25000` with no visible error. Source Discord thread: https://discord.com/channels/1417099416812392641/1480379733173731458/threads/1506416754757341214 Reporter: Pomtherine ## Expected behavior When a user enters a `Max Output Tokens` value, Marinara should either preserve the entered value when valid or clearly explain why it must be clamped/rejected. ## Actual behavior Setting `Max Output Tokens` to `35000` under Advanced Parameters immediately changes it to `25000` with no visible error. Another Discord user reported having the same problem and needing a higher value for ending a game mode session. ## Steps to reproduce 1. Open Advanced Parameters. 2. Edit `Max Output Tokens`. 3. Enter `35000`. 4. Observe that the field immediately changes to `25000` without an error message. ## Marinara Engine version v1.6.0 ## Install type Termux ## OS + version Android via Termux ## Browser or app shell Mobile browser, exact browser not specified. ## Screenshots or video Behavior was observed in a video provided to triage, but no uploadable video file is attached to this issue. See the source Discord thread for context. ## Logs The reporter pasted repeated memory-recall warnings from Termux: ```json {"level":40,"msg":"[memory-recall] Local embeddings are unavailable and no embedding connection is configured"} ``` These may be unrelated to the max-output-token UI behavior. ## Additional context The user is running Marinara at `http://127.0.0.1:7860/` with LAN access shown as `http://192.0.0.2:7860/`. ## Template check - [ ] I provided the required summary, behavior, reproduction, and environment details. - [ ] If this is a visual/UI bug, blank screen, layout issue, mobile/responsive issue, incorrect image or sprite, broken animation, or unexpected error state, I attached screenshots or video.
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#511
No description provided.