[GH-ISSUE #5856] [Issue]: NanoGPT model details are not retrieved for automatic max-token configuration #3230

Closed
opened 2026-10-21 06:00:50 +07:00 by bsakaguchi · 2 comments
Owner

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

  1. Configure Marinara to use NanoGPT.
  2. Request or load the available model list.
  3. Observe that Marinara does not retrieve the model details or automatically set the maximum token limit.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

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)
[2026-09-01T20:04:36.992Z] ionstorm66: Marinara supports getting model info to automaticly set the max tokens, but it fails to do so with NanoGPT. NanoGPT will send that information with the detailed option on the API call for the model list.

[attached image 1: https://cdn.discordapp.com/attachments/1544437846998384660/1544437847296315422/image.png?ex=6a9d1e95&is=6a9bcd15&hm=4a4282ff229ab0b2c1b401c78427b0b42043ba14e1ddc5a09a1b273df9fcf530&]
[Discord message: https://discord.com/channels/1417099416812392641/1544437846998384660/1544437846998384660]

[2026-09-01T20:04:37.974Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1544437846998384660/1544437851117330482]

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 (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 1. Configure Marinara to use NanoGPT. 2. Request or load the available model list. 3. Observe that Marinara does not retrieve the model details or automatically set the maximum token limit. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## 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) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-09-01T20:04:36.992Z] ionstorm66: Marinara supports getting model info to automaticly set the max tokens, but it fails to do so with NanoGPT. NanoGPT will send that information with the detailed option on the API call for the model list. [attached image 1: https://cdn.discordapp.com/attachments/1544437846998384660/1544437847296315422/image.png?ex=6a9d1e95&is=6a9bcd15&hm=4a4282ff229ab0b2c1b401c78427b0b42043ba14e1ddc5a09a1b273df9fcf530&] [Discord message: https://discord.com/channels/1417099416812392641/1544437846998384660/1544437846998384660] [2026-09-01T20:04:37.974Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1544437846998384660/1544437851117330482] ``` </details> ## 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-21 06:00:50 +07:00
Author
Owner

@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.

<!-- gh-comment-id:5644876146 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:5645734210 --> @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.
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#3230
No description provided.