Skip to content

[Bug]: #64

Description

@AbdulHadi-Mughal

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions