Skip to content

[Bug] No endpoints found that support image input” persists after removing images from prompt #336

@krxdow

Description

@krxdow

Version

Dive Desktop v0.14.1

Environment

Arch Linux desktop
Using OpenRouter as provider

Context

I am using text-only models (MiniMax M 2.5, Qwen 3 Next Thinking).

At first, I didn’t know these models do not support image inputs. I understand that now.

However, even after removing images from the prompt, the error still persists.

Problem

If I attach an image once and then delete it, all subsequent requests fail with:

Error code: 404
No endpoints found that support image input
Error code: 404 - {'error': {'message': 'No endpoints found that support image input', 'code': 404}}

This happens even when:

  • the prompt contains only text
  • the image is fully removed from the UI
  • I paste/import a completely new text prompt

Expected behavior

After removing the image, Dive should send a text-only request and work normally with text-only models.

Actual behavior

Dive appears to still send an image or multimodal payload internally, which causes OpenRouter to route the request to a vision endpoint and return 404.

Steps to reproduce

  1. Select a text-only model
  2. Attach an image
  3. Remove the image
  4. Send a text-only prompt (or paste/import new text)
  5. 404 error persists

Observations

  • Creating a new chat sometimes fixes it
  • Restarting and continuing the same conversation does NOT fix the issue
  • The error persists in a loop for the conversation concerned
  • Suggests cached conversation state or stale attachment data
  • Likely an image field (image_url or similar) is still present in the request payload

Request

Please ensure that:

  • removing an image fully clears it from the request payload
  • the payload is rebuilt strictly as text-only when no image is present

This would prevent routing errors when using non-multimodal models.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions