mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-17 11:51:39 +00:00
* fix(mistral): use truncateUtf16Safe for error text truncation Replace naive .slice(0, maxChars) with truncateUtf16Safe() in truncateErrorText() to prevent surrogate pair splitting in Mistral provider error messages shown to users. Co-Authored-By: Claude <noreply@anthropic.com> * fix(ai): keep Mistral errors UTF-16 safe --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Peter Steinberger <steipete@gmail.com>