Files
letta-server/letta
Kian Jones 9a8d381b14 fix: add field validators to Block schema for int32 limit and null bytes (#9185)
- Add `validate_limit_int32` validator (mode=after) to reject limit values
  exceeding PostgreSQL INTEGER max (2147483647)
- Add `sanitize_value_null_bytes` validator (mode=before) to strip null bytes
  from block values, preventing asyncpg CharacterNotInRepertoireError

Fixes DB errors:
- "value out of int32 range" on block.limit
- "invalid byte sequence for encoding UTF8: 0x00" on block.value

🤖 Generated with [Letta Code](https://letta.com)

Co-authored-by: Letta <noreply@letta.com>
2026-02-24 10:52:05 -08:00
..
2026-01-29 12:44:04 -08:00
2025-10-07 17:50:45 -07:00
2025-10-07 17:50:45 -07:00
2026-01-12 10:57:48 -08:00
2025-09-17 15:47:40 -07:00
2026-01-29 12:44:04 -08:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2026-02-24 10:52:05 -08:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2026-01-29 12:45:45 -08:00
2025-10-07 17:50:45 -07:00
2025-09-17 15:47:40 -07:00
2026-01-29 12:44:04 -08:00
2025-09-17 15:47:40 -07:00
2025-10-07 17:50:49 -07:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00
2025-09-17 15:47:40 -07:00