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).

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

Log in to comment and vote
Comments1
Sep 11
PinnedI 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.