CommandCodeAI / CommandCodeAI/desktop

[Bug]:

未关闭
#64 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug
主要语言
Shell
星标
80
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

通过启动一个 Command Code 线程、选择 Muse Spark 1.3,并要求它读取超过 50 张图片或包含超过 50 张图片的 PDF,复现该故障。跟踪失败的工具结果和对话上下文是如何被重试的;完成的标准是移除超大的结果、错误传达到 LLM,并且重启不会再次发送超过 50 张图片。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
ai, desktop
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。