[Bug]:

オープン
#64 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
shell
領域
ai, desktop

調査の方向性

Command Code スレッドを開始し、Muse Spark 1.3 を選択して、50 枚を超える画像または 50 枚を超える画像を含む PDF を読み取るよう依頼することで、失敗を再現します。失敗したツール結果と会話コンテキストがどのように再試行されるかを追跡します。完了の条件は、サイズ超過の結果が削除され、エラーが LLM に到達し、再起動しても 50 枚を超える画像が再送信されないことです。

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

説明

bug
GUI version

0.1.29

Operating system

Linux (Debian/Ubuntu)

Reproduction steps
  1. Start a new Command Code thread.
  2. Select Muse Spark 1.3
  3. Ask AI to read >50 images (or +50 image PDF)
  4. Error occurs: Error: 400 request contains 54 images, exceeding the maximum of 50 allowed per request
Expected behavior

The last tool call result should be stripped out of the context and the error description should be passed to LLM, so the loop doesn't break and the AI knows how to work around these provider limits.

Actual behavior

The error is fatal and the model's run stops. Trying to start the conversation with "Proceed" shows the error
Something went wrong. The agent stopped unexpectedly
The reason for this is because the context still contains over 50 images, and restarting send back all the context in the request, hitting the same error.

Screenshots, recordings, or sanitized logs

Session: -fsKzjLOm8IQCetGDAfhF
Traces: 6c9e260c6071811ced3e21ef9f192d41, fc45133506d2b1436568d367ff41136e, a992776999b4372ea668eef6841a1f6b, 2735719d3420ae1a561847be2877e4b0, 056420db5c21fd1e30f3ab8d658e22b4

Safety check
  • I removed credentials and private project information from this report.
主要言語
Shell
スター
80
フォーク
2
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

CommandCodeAI/desktop のほかの issue

CommandCodeAI/desktop の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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