mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-04 23:40:48 +00:00
lsp improvements
This commit is contained in:
parent
bf8cd3bd12
commit
2b5a33e476
15 changed files with 922 additions and 127 deletions
|
|
@ -151,7 +151,11 @@ func renderAssistantMessage(
|
|||
))
|
||||
}
|
||||
}
|
||||
if content != "" {
|
||||
if content != "" || (finished && finishData.Reason == message.FinishReasonEndTurn) {
|
||||
if content == "" {
|
||||
content = "*Finished without output*"
|
||||
}
|
||||
|
||||
content = renderMessage(content, false, msg.ID == focusedUIMessageId, width, info...)
|
||||
messages = append(messages, uiMessage{
|
||||
ID: msg.ID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue