summaryrefslogtreecommitdiffhomepage
path: root/packages/tui/internal
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-06-30 15:45:16 -0500
committeradamdottv <[email protected]>2025-06-30 15:46:18 -0500
commitef73926db6ef6205cef3177ea4c085ca9121ffd5 (patch)
tree5c857d4cde7215500f0ed7403c87722788094268 /packages/tui/internal
parent9ad1687f04a50ac3f38459a4be412343d7fbce90 (diff)
downloadopencode-ef73926db6ef6205cef3177ea4c085ca9121ffd5.tar.gz
opencode-ef73926db6ef6205cef3177ea4c085ca9121ffd5.zip
chore: include model release date
Diffstat (limited to 'packages/tui/internal')
-rw-r--r--packages/tui/internal/tui/tui.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/tui/internal/tui/tui.go b/packages/tui/internal/tui/tui.go
index 4fb3e90dc..106c135d0 100644
--- a/packages/tui/internal/tui/tui.go
+++ b/packages/tui/internal/tui/tui.go
@@ -282,6 +282,8 @@ func (a appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return updated, cmd
}
}
+ case error:
+ return a, toast.NewErrorToast(msg.Error())
case app.SendMsg:
a.showCompletionDialog = false
cmd := a.app.SendChatMessage(context.Background(), msg.Text, msg.Attachments)