Files
ARTEX/llmpool
Leo Camus 864a60d48b fix(llmpool): keep trimmed provider errors on a rune boundary
trimErr cut the error text at byte 300, which can split a multi-byte
character. The result is stored as llm_profile_health.last_error, and
PostgreSQL rejects the invalid UTF-8, so the breaker state of a profile
whose provider answers in Chinese is never persisted and the write is
retried every second.
2026-11-18 13:07:45 +00:00
..