[PR #8427] fix: block whitespace-only prompts #12739

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

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

State: open
Merged: No


Issue: https://github.com/anomalyco/opencode/issues/7493

Summary:

  • block whitespace-only prompt submissions
  • show a warning toast instead of sending an empty message

Motivation:

  • avoid backend "Text cannot be empty" errors that interrupt sessions

Validation:

  • Manual testing completed
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8427 **State:** open **Merged:** No --- Issue: https://github.com/anomalyco/opencode/issues/7493 Summary: - block whitespace-only prompt submissions - show a warning toast instead of sending an empty message Motivation: - avoid backend "Text cannot be empty" errors that interrupt sessions Validation: - Manual testing completed
yindo added the pull-request label 2026-02-16 18:17:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12739