when (mistakenly) sending empty message the session stop with the error: text cannot be empty. #4533

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

Originally created by @avifenesh on GitHub (Jan 9, 2026).

Description

When (mistakenly) sending an empty message the session stops with the error: Text cannot be empty.
Better behaviour:
A. Ignoring and continuing with the session
B. Blocking empty messages from being sent.

If it sounds like a better UX, I will happily contribute the fix myself.

Plugins

No response

OpenCode version

1.1.7

Steps to reproduce

start a session, give it some tasks that require few steps, then few spaces and send

Screenshot and/or share link

No response

Operating System

Windows11

Terminal

Windows terminal

Originally created by @avifenesh on GitHub (Jan 9, 2026). ### Description When (mistakenly) sending an empty message the session stops with the error: Text cannot be empty. Better behaviour: A. Ignoring and continuing with the session B. Blocking empty messages from being sent. If it sounds like a better UX, I will happily contribute the fix myself. ### Plugins _No response_ ### OpenCode version 1.1.7 ### Steps to reproduce start a session, give it some tasks that require few steps, then few spaces and send ### Screenshot and/or share link _No response_ ### Operating System Windows11 ### Terminal Windows terminal
yindo added the bug label 2026-02-16 17:44:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4533