Skip to content

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

@avifenesh

Description

@avifenesh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions