Empty message to an assistant #8526

Open
opened 2026-02-16 18:10:12 -05:00 by yindo · 5 comments
Owner

Originally created by @yar-rv on GitHub (Feb 4, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

I've installed opencode v1.1.51 and connected it to ollama serving on lan. When i send request to think about changing smth in code i recieve an answer from assistant which tells me that he is in plane mode and asking for orders (which i sent). After some tries also with other llms i recieved an answer "I notice your message appears to be empty. Could you please let me know what task you'd like me to help plan?". What can be the reason? I tried GLM 4.7 flash and qwen 30b models.

Plugins

No response

OpenCode version

1.1.51

Steps to reproduce

  1. install opencode
  2. Connect to ollama serving on lan.
  3. Make a request.

Screenshot and/or share link

No response

Operating System

windows 10 22h2

Terminal

No response

Originally created by @yar-rv on GitHub (Feb 4, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description I've installed opencode v1.1.51 and connected it to ollama serving on lan. When i send request to think about changing smth in code i recieve an answer from assistant which tells me that he is in plane mode and asking for orders (which i sent). After some tries also with other llms i recieved an answer "I notice your message appears to be empty. Could you please let me know what task you'd like me to help plan?". What can be the reason? I tried GLM 4.7 flash and qwen 30b models. ### Plugins _No response_ ### OpenCode version 1.1.51 ### Steps to reproduce 1. install opencode 2. Connect to ollama serving on lan. 3. Make a request. ### Screenshot and/or share link _No response_ ### Operating System windows 10 22h2 ### Terminal _No response_
yindo added the windowsbug labels 2026-02-16 18:10:12 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 4, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #5187: Ollama: User message content arrives as empty array - model cannot see user input (same Ollama integration problem with empty/missing user messages)
  • #7493: when (mistakenly) sending empty message the session stop with the error: text cannot be empty (related empty message handling)
  • #11991: [BUG]: Empty content error when switching from Cerebras GLM to Claude Opus (empty content errors in message handling)
  • #8679: TUI can auto-submit whitespace prompt, creating "empty user message" (related to empty/whitespace message submission)

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 4, 2026): This issue might be a duplicate of existing issues. Please check: - #5187: Ollama: User message content arrives as empty array - model cannot see user input (same Ollama integration problem with empty/missing user messages) - #7493: when (mistakenly) sending empty message the session stop with the error: text cannot be empty (related empty message handling) - #11991: [BUG]: Empty content error when switching from Cerebras GLM to Claude Opus (empty content errors in message handling) - #8679: TUI can auto-submit whitespace prompt, creating "empty user message" (related to empty/whitespace message submission) Feel free to ignore if none of these address your specific case.
Author
Owner

@R44VC0RP commented on GitHub (Feb 4, 2026):

If you are in the TUI you can toggle between the default Build and Plan modes by click the tab key.

Image

Can you send a screenshot if you are in build or plan mode?

@R44VC0RP commented on GitHub (Feb 4, 2026): If you are in the TUI you can toggle between the default Build and Plan modes by click the tab key. <img width="694" height="389" alt="Image" src="https://github.com/user-attachments/assets/29e14c79-783c-466e-bdde-bbc67c289a39" /> Can you send a screenshot if you are in build or plan mode?
Author
Owner

@yar-rv commented on GitHub (Feb 4, 2026):

Image

Image

here are the examples, i use gui.

@yar-rv commented on GitHub (Feb 4, 2026): ![Image](https://github.com/user-attachments/assets/1bb39c02-a01e-43fc-8a93-5ce3aa6c32a2) <img width="707" height="219" alt="Image" src="https://github.com/user-attachments/assets/133b1200-9303-493c-8c6f-2429eabfea01" /> here are the examples, i use gui.
Author
Owner

@R44VC0RP commented on GitHub (Feb 4, 2026):

What does your input box look like?

Image

Like this?

@R44VC0RP commented on GitHub (Feb 4, 2026): What does your input box look like? <img width="1031" height="259" alt="Image" src="https://github.com/user-attachments/assets/6fec25f3-326f-4fba-8a45-5ea6b2513b78" /> Like this?
Author
Owner

@yar-rv commented on GitHub (Feb 4, 2026):

Yes, it looks like this.
Image

@yar-rv commented on GitHub (Feb 4, 2026): Yes, it looks like this. <img width="581" height="133" alt="Image" src="https://github.com/user-attachments/assets/b467c85c-22a6-4848-a6e7-b91963c06c2a" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8526