mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5856] [Issue]: NanoGPT model details are not retrieved for automatic max-token configuration #3230
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3230
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Sep 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5856
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Marinara supports retrieving model information to automatically set the maximum token count, but this fails when using NanoGPT. NanoGPT provides the required information when the detailed option is enabled on the model-list API call.
Expected behavior
Marinara should retrieve NanoGPT model details using the detailed model-list API option and automatically set the model's maximum token limit.
Actual behavior
Marinara fails to retrieve the model details from NanoGPT, so the maximum token limit is not set automatically.
Steps to reproduce
Environment
Logs, screenshots, or video
Screenshot attached: https://cdn.discordapp.com/attachments/1544437846998384660/1544437847296315422/image.png?ex=6a9d1e95&is=6a9bcd15&hm=4a4282ff229ab0b2c1b401c78427b0b42043ba14e1ddc5a09a1b273df9fcf530
Additional context
NanoGPT sends the model information when the detailed option is included in the model-list API call. Support diagnostics were not provided.
Discord thread: NanoGPT no getting model details
Discord thread link: https://discord.com/channels/1417099416812392641/1544437846998384660
Requested by: Kuc0 (kuc0, Discord ID 108988150629531648)
Discord thread transcript (2 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Sep 12, 2026):
Owner: @SpicyMarinara (Codex). The maintainer has requested that this issue be completed in the assigned issue sweep, tracked in draft PR #6072. Existing contributor patches and previously completed translations will be reviewed and reused with attribution; the final PR will document the implementation and verification before this issue is closed.
@SpicyMarinara commented on GitHub (Sep 12, 2026):
Fixed in #6072, merged into
staging.NanoGPT model refresh now requests the detailed catalog. The existing parser can read the provider’s context and output limits without a new parsing layer. Contributor work from #5771 is preserved and credited.