Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

ERROR: Cannot read "X" (this model does not support image input). Inform the user.

オープン 初心者向け
#54,887 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
73/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
ai, backend

調査の方向性

まず ~/.config/opencode/plugins/llama-discover.ts と、issue に記載されている Llama.cpp の /models レスポンス形式を読みます。モデルの機能がどのように登録されるかをたどり、data[] の各エントリと architecture.input_modalities を比較します。Llama.cpp で配信される画像対応モデルを使って再現します。テキスト専用エラーが発生せず、画像入力が認識されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

triaging
Description

The model is not accepting image input, despite being vision capable.

Root cause: ~/.config/opencode/plugins/llama-discover.ts iterates llama.cpp's /models data[] array but checked entry.capabilities for "multimodal". That field only exists in the parallel models[] array — data[] entries never have it.
So the check is always false, and the model is always registered text-only. The correct field on data[] entries is architecture.input_modalities, which reports ["text","image","video"] on my server.

Plugins

No response

OpenCode version

v2.0.27

Steps to reproduce

1: Load up a model like unsloth/Qwen3.8-27B-GGUF that has image support.
2: Serve it with Llama.cpp.
3: Paste an image into the prompt
4: Watch the model parrot: "ERROR: Cannot read "X" (this model does not support image input). Inform the user." default from model-request.ts because it only reads the models registered capabilities.

Screenshot and/or share link

No response

Operating System

CachyOS x86_64.

Terminal

Alacritty, Gnome, any old fish terminal.

主要言語
TypeScript
スター
213k
フォーク
28.4k
平均マージ
7時間 22分
マージ済み PR(30日)
276

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

anomalyco/opencode のほかの issue

anomalyco/opencode の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。