[GH-ISSUE #3631] [Issue]: Noodle timeline refresh fails for non-vision OpenRouter models #1965

Closed
opened 2026-10-21 05:44:14 +07:00 by bsakaguchi · 2 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Noodle timeline refreshes fail when an OpenRouter non-vision model receives image attachments. The text-only retry does not recognize OpenRouter's unsupported-image error message.

Expected behavior

When the timeline model does not support image input, Noodle should retry the refresh with text only. Failed or unavailable image captioning should not cause raw images to be sent to a non-vision model.

Actual behavior

Every timeline refresh containing image posts fails with "No endpoints found that support image input". Disabling image captioning or configuring a working captioning connection does not prevent the failure.

Steps to reproduce

  1. Configure an OpenRouter connection using a non-vision model as the Noodle timeline connection.
  2. Add or encounter posts containing images on the timeline.
  3. Refresh the Noodle timeline.
  4. Observe that the refresh fails with "No endpoints found that support image input" instead of retrying with text only.

Environment

  • Marinara Engine version: v2.2.1 (latest stable)
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

Provider error: "No endpoints found that support image input". No screenshots or video provided.

Additional context

The text-only retry added in #3476 depends on isUnsupportedNoodleVisionInputError() in packages/server/src/services/noodle/noodle-vision.ts, used at noodle.routes.ts:1864. Its patterns match negative phrases such as "does not support", "not supported", or "unsupported" with image/vision, but not OpenRouter's positive phrasing. A tested suggested pattern is /no endpoints found.{0,40}image/i. Caption failures or unresolved captioning connections also appear to pass raw image attachments to the timeline model after only a server-log warning; consider dropping images when the timeline model is not vision-capable.

Discord thread: [Bug] Noodle timeline refresh fails with "No endpoints found that support image input"
Discord thread link: https://discord.com/channels/1417099416812392641/1526851854519111800
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-07-15T07:24:09.653Z] ClaudZeta: Version: v2.2.1 (latest stable)
What happens:
Every Noodle timeline refresh errors out with No endpoints found that support image input when the timeline connection is an OpenRouter model without vision. Disabling Noodle image captioning doesn't change anything, and neither does having a working captioning connection configured.
Root cause (checked the v2.2.1 source):

The text-only retry added in #3476 only fires when isUnsupportedNoodleVisionInputError() matches the provider error (packages/server/src/services/noodle/noodle-vision.ts, used at noodle.routes.ts:1864). Its regexes only match negative phrasings like "does not support / not supported / unsupported + image/vision". OpenRouter's message is phrased positively — "No endpoints found that support image input" — so it matches nothing and the refresh hard-fails instead of retrying text-only.
Related: captioning isn't a gate. Images whose caption call fails (or when the captioning connection doesn't resolve) silently fall through as raw image attachments to the timeline model, with only a server-log warning. So a flaky captioning connection still crashes the refresh on non-vision models.

Suggested fix (By Fable 5, implemented myself and appears to be working):
Add a pattern for OpenRouter's phrasing, e.g. in isUnsupportedNoodleVisionInputError:
ts|| /no endpoints found.{0,40}image/i.test(message)
Maybe also consider treating caption failures as "drop the image" rather than "attach raw" when the timeline model isn't vision-capable.
Repro: OpenRouter connection with a non-vision model as the Noodle timeline connection → have posts with images on the timeline → refresh.
[Discord message: https://discord.com/channels/1417099416812392641/1526851854519111800/1526851854519111800]

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 (Jul 15, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3631 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Noodle timeline refreshes fail when an OpenRouter non-vision model receives image attachments. The text-only retry does not recognize OpenRouter's unsupported-image error message. ## Expected behavior When the timeline model does not support image input, Noodle should retry the refresh with text only. Failed or unavailable image captioning should not cause raw images to be sent to a non-vision model. ## Actual behavior Every timeline refresh containing image posts fails with "No endpoints found that support image input". Disabling image captioning or configuring a working captioning connection does not prevent the failure. ## Steps to reproduce 1. Configure an OpenRouter connection using a non-vision model as the Noodle timeline connection. 2. Add or encounter posts containing images on the timeline. 3. Refresh the Noodle timeline. 4. Observe that the refresh fails with "No endpoints found that support image input" instead of retrying with text only. ## Environment - Marinara Engine version: v2.2.1 (latest stable) - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Provider error: "No endpoints found that support image input". No screenshots or video provided. ## Additional context The text-only retry added in #3476 depends on isUnsupportedNoodleVisionInputError() in packages/server/src/services/noodle/noodle-vision.ts, used at noodle.routes.ts:1864. Its patterns match negative phrases such as "does not support", "not supported", or "unsupported" with image/vision, but not OpenRouter's positive phrasing. A tested suggested pattern is /no endpoints found.{0,40}image/i. Caption failures or unresolved captioning connections also appear to pass raw image attachments to the timeline model after only a server-log warning; consider dropping images when the timeline model is not vision-capable. Discord thread: [Bug] Noodle timeline refresh fails with "No endpoints found that support image input" Discord thread link: https://discord.com/channels/1417099416812392641/1526851854519111800 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-07-15T07:24:09.653Z] ClaudZeta: Version: v2.2.1 (latest stable) What happens: Every Noodle timeline refresh errors out with No endpoints found that support image input when the timeline connection is an OpenRouter model without vision. Disabling Noodle image captioning doesn't change anything, and neither does having a working captioning connection configured. Root cause (checked the v2.2.1 source): The text-only retry added in #3476 only fires when isUnsupportedNoodleVisionInputError() matches the provider error (packages/server/src/services/noodle/noodle-vision.ts, used at noodle.routes.ts:1864). Its regexes only match negative phrasings like "does not support / not supported / unsupported + image/vision". OpenRouter's message is phrased positively — "No endpoints found that support image input" — so it matches nothing and the refresh hard-fails instead of retrying text-only. Related: captioning isn't a gate. Images whose caption call fails (or when the captioning connection doesn't resolve) silently fall through as raw image attachments to the timeline model, with only a server-log warning. So a flaky captioning connection still crashes the refresh on non-vision models. Suggested fix (By Fable 5, implemented myself and appears to be working): Add a pattern for OpenRouter's phrasing, e.g. in isUnsupportedNoodleVisionInputError: ts|| /no endpoints found.{0,40}image/i.test(message) Maybe also consider treating caption failures as "drop the image" rather than "attach raw" when the timeline model isn't vision-capable. Repro: OpenRouter connection with a non-vision model as the Noodle timeline connection → have posts with images on the timeline → refresh. [Discord message: https://discord.com/channels/1417099416812392641/1526851854519111800/1526851854519111800] ``` </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 05:44:14 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
Author
Owner

@SpicyMarinara commented on GitHub (Jul 15, 2026):

Claiming this for implementation on agent/fix-3627-3631-open-issues. I will harden the Noodle text-only retry for OpenRouter non-vision responses and cover the provider error wording with a regression.

<!-- gh-comment-id:4978500499 --> @SpicyMarinara commented on GitHub (Jul 15, 2026): Claiming this for implementation on `agent/fix-3627-3631-open-issues`. I will harden the Noodle text-only retry for OpenRouter non-vision responses and cover the provider error wording with a regression.
Author
Owner

@SpicyMarinara commented on GitHub (Jul 15, 2026):

Addressed in #3632. Noodle now recognizes the reported OpenRouter non-vision endpoint response and retries text-only, with regression coverage.

<!-- gh-comment-id:4978713748 --> @SpicyMarinara commented on GitHub (Jul 15, 2026): Addressed in #3632. Noodle now recognizes the reported OpenRouter non-vision endpoint response and retries text-only, with regression coverage.
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#1965
No description provided.