mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5332] [Issue]: Strip image content before Noodle calls to non-vision models #2945
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#2945
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 (Aug 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5332
Originally assigned to: @Gunterlie on GitHub.
Summary
Noodle sends image content to the selected timeline model before checking whether the model supports vision. The NanoGPT API rejects the first request with a 400 error, after which Noodle retries the refresh as text-only.
Expected behavior
Noodle should detect that the selected model does not support image inputs before the first call and remove or filter image content, preventing the API error and unnecessary terminal error output.
Actual behavior
Noodle sends image content to the non-vision model "zai-org/glm-5.2". The NanoGPT API returns a 400 error, and Noodle then retries the refresh as text-only.
Steps to reproduce
Environment
04bac11a65)Logs, screenshots, or video
Error: NanoGPT API error 400: Model "zai-org/glm-5.2" does not support image inputs. Remove image content or choose a multimodal model. The log also reports: "[noodle/vision] The selected timeline model rejected image input; retrying the refresh as text-only". No screenshots or video were provided.
Additional context
The reporter said this behavior may have been introduced with the second image pass version and that the text-only retry already exists, but preflight capability checking would avoid the initial error.
Discord thread: FR - Strip Images out of Noodle Context for Models that doesn't support image content on first call.
Discord thread link: https://discord.com/channels/1417099416812392641/1540075482417078352
Requested by: gunterlie (gunterlie, Discord ID 282074442962829312)
Discord thread transcript (4 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 (Aug 20, 2026):
@Gunterlie I’m picking this up in Pasta-Devs/Marinara-Agents because the affected Noodle runtime is package-owned. I’ll link the staging draft PR here before implementation.
@SpicyMarinara commented on GitHub (Aug 20, 2026):
Draft implementation PR: Pasta-Devs/Marinara-Agents#474
@SpicyMarinara commented on GitHub (Aug 20, 2026):
Package ownership issue: Pasta-Devs/Marinara-Agents#475. Implementation remains in Pasta-Devs/Marinara-Agents#474.
@SpicyMarinara commented on GitHub (Aug 20, 2026):
Resolved on the staging Agents catalog by Pasta-Devs/Marinara-Agents#474 (Noodle 1.2.10).