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

Models doesn't work when fetchModels: false is used

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

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

@zikajk がすでに取り組んでいます。

2026年10月21日 から。

評価

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

調査の方向性

src/eca/llm_api.clj の provider->api-handler(198~217行目)から始め、その後、src/eca/models.clj の 764行目付近にある fetch-model-catalog-enabled? を調査します。fetchModels: false で障害を再現し、カスタムプロバイダが /models リクエストをスキップしながら、引き続き使用可能な API ハンドラを受け取ることを確認します。短い設定済みモデルリストが、API 呼び出しのクラッシュなしで動作Calculationすることが完了の条件です。

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

説明

bug

was trying out eca and eca-desktop today and stumbled across a bug.
when I started I had a simple config (eca-config.json minus the fetch models line.)
this worked but with llama.cpp in router mode this drags in everything. so I added fetch models line and it was the short list of models but then nothing worked, until I re-enabled fetch models.

Expected behavior

things function, but with a short model list.

Additional context
while slop wasn't requested I did have AI dig some to at least verify what I was seeing, I had it generate a report but I'll trim it down to just the files/line number bits

src/eca/llm_api.clj:198-217 — the provider->api-handler function. When model capabilities don't include a discovered :api field (because discovery was skipped), it falls back to checking the provider's base-provider name. For custom providers this doesn't match any known type, so it returns nil. The handler being nil causes the API call to crash.

The same skip happens in src/eca/models.clj:764 — fetch-model-catalog-enabled? returns false when fetchModels: false, so the provider's /models endpoint is never called.

主要言語
Clojure
スター
1k
フォーク
82
平均マージ
1日 19時間
マージ済み PR(30日)
18

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

editor-code-assistant/eca のほかの issue

editor-code-assistant/eca の issue をすべて見る

似ている issue

Clojure の issue をもっと見る

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

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