ECA sends null JSON items to Mistral models
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 52/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- json
- 領域
- api
調査の方向性
Start from the reproduction in eca-emacs/Eask: run ECA in Emacs, select mistral-small, and send “what is the package version?”. Inspect the JSON input sent with the prompt and compare it with the attached examples; the issue is done when ECA sends valid input without null items and the prompt succeeds.
索引モデルが issue の本文から書いたものです。
説明
To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.
Describe the bug
When I send prompts in an Emacs ECA session to a Mistral model, I get the error OpenAI response status: 400 body: {"object":"error","message":"input: Value error, Input items of type None are not supported.","type":"invalid_request_error","param":null,"code":"3051","raw_status_code":400}.
This is because ECA sends null items in its JSON input (see the attached files for examples; I replaced some ids there with ... to avoid posting possibly sensitive information). It happens at least with mistral-small (when sending the first prompt already) and mistral-large-4 (when sending a followup prompt in the same session) models.
eca-mistral-small.json
eca-mistral-large-4.json
To Reproduce
Steps to reproduce the behavior:
- Run Emacs.
- Open let's say eca-emacs/Eask file and run `M-x eca' there.
- Select mistral-small model.
- Run prompt "what is the package version?".
- You should get the error.
Expected behavior
ECA sends valid JSON inputs.
Doctor
Paste the relevant parts of /doctor command from chat if applicable:
ECA version: 0.169.0
Server cmd: /home/pdm/.emacs.d/eca/eca server
Workspaces: /home/pdm/git/github.com/editor-code-assistant/eca-emacs
Default model: mistral/mistral-large-4 (API key (...))
Logged providers:
mistral: API key (...)
Relevant env vars:
Credential files: None found
- 主要言語
- Clojure
- スター
- 1k
- フォーク
- 82
- 平均マージ
- 2日 14時間
- マージ済み PR(30日)
- 23
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
editor-code-assistant/eca のほかの issue
-
Models doesn't work when fetchModels: false is used対応中かも @zikajk が 14 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
editor-code-assistant/eca#661 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
editor-code-assistant/eca#689 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 3/5 半日 初心者へのやさしさ 45/100
editor-code-assistant/eca#688 ·
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
editor-code-assistant/eca#684 · コメント 6 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
editor-code-assistant/eca#683 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
editor-code-assistant/eca の issue をすべて見る
似ている issue
-
.Needs Triage .Team/Gadget Priority:P2 Type:Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
metabase/metabase#86303 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nextjournal/clojure-mode#63 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
bug paredit regression shortcuts
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
BetterThanTomorrow/calva#3338 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
clj-commons/antq#407 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信