[PR #8954] fix: filter whitespace-only content for all providers #12921

Open
opened 2026-02-16 18:17:48 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/8954

State: open
Merged: No


Summary

  • Trim whitespace from text content before checking if empty
  • Filter whitespace-only messages and text parts for all providers
  • Add tests for whitespace-only content handling

Fixes #8903

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8954 **State:** open **Merged:** No --- ## Summary - Trim whitespace from text content before checking if empty - Filter whitespace-only messages and text parts for all providers - Add tests for whitespace-only content handling Fixes #8903
yindo added the pull-request label 2026-02-16 18:17:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12921