mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-05 16:02:19 +00:00
fix: hide empty messages
This commit is contained in:
parent
3cc08494a5
commit
ef298b2f18
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ func renderAssistantMessage(
|
|||
showToolMessages bool,
|
||||
) []uiMessage {
|
||||
messages := []uiMessage{}
|
||||
content := msg.Content().String()
|
||||
content := strings.TrimSpace(msg.Content().String())
|
||||
thinking := msg.IsThinking()
|
||||
thinkingContent := msg.ReasoningContent().Thinking
|
||||
finished := msg.IsFinished()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue