fix: prevent panic on multi-byte UTF-8 in LLM response logging #9

Merged
shawn_hurley merged 1 commit from fix/utf8-response-tail-panic into main 2026-04-24 10:30:12 -04:00
Owner

Use floor_char_boundary() so the debug log tail slice never lands
inside a multi-byte character like '→'.

Fixes #10

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

Use floor_char_boundary() so the debug log tail slice never lands inside a multi-byte character like '→'. Fixes #10 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fix: prevent panic on multi-byte UTF-8 in LLM response logging
Some checks failed
CI / Check & Test (pull_request) Failing after 1m58s
63f5ea798e
Use floor_char_boundary() so the debug log tail slice never lands
inside a multi-byte character like '→'.

Fixes #10

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
shawn_hurley/semver-analyzer!9
No description provided.