fix: truncate user_prompt in intent_session to prevent DB column overflow
Large text messages could cause `Data too long for column 'intent_session'` (VARCHAR 8192) when user_prompt is serialized to JSON. Truncate to 2000 chars before writing to DB, keeping the full text for LLM classification unchanged. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Showing
1 changed file
with
4 additions
and
1 deletions
-
Please register or sign in to post a comment