Skip to main content

error I get often: tool message should alternate

After the (optional) system message(s), user or tool message(s) should alternate with assistant message(s).

Status: In QA1 comment

Log in to comment and vote

Comments1

  • Daniel Nguyen changed status to In QA
    Team•

    Sep 11

    Pinned

    I found and fixed an issue where limiting chat history could separate a tool call from its result, causing follow-up messages to fail. I verified the fix with live API tests.

    It hasn’t shipped yet. Could you confirm which provider/model you were using and your Chat Context setting? That will help me confirm whether this matches your case.