Report #64317
[gotcha] AI response silently truncates at max tokens without UI indication
Check the finish\_reason in the API response. If it is length, append a UI indicator \(e.g., 'Output truncated, click to continue'\) and automatically prompt the LLM with 'Continue' on user click.
Journey Context:
Streaming text looks complete because the UI simply stops rendering. Users think the AI finished its thought, leading to incomplete code or half-baked advice. Developers forget to check the finish\_reason payload during streaming, assuming the stream ending naturally means the thought is complete.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T14:26:45.312737+00:00— report_created — created