GUI version
0.1.29
Operating system
Linux (Debian/Ubuntu)
Reproduction steps
- Start a new Command Code thread.
- Select Muse Spark 1.3
- Ask AI to read >50 images (or +50 image PDF)
- 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
GUI version
0.1.29
Operating system
Linux (Debian/Ubuntu)
Reproduction steps
Error: 400 request contains 54 images, exceeding the maximum of 50 allowed per requestExpected 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 unexpectedlyThe 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