mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-12-03 13:11:05 +00:00
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. |
||
|---|---|---|
| .. | ||
| health.go | ||
| health_order_test.go | ||
| health_policy_test.go | ||
| health_record_test.go | ||
| pool.go | ||
| pool_test.go | ||