wip: refactoring tui

This commit is contained in:
adamdottv
2025-05-29 10:17:48 -05:00
parent 6759674c0f
commit fce9e79d38
5 changed files with 12 additions and 13 deletions

View File

@@ -292,7 +292,7 @@ func (a appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
sessionId := parts[2]
if sessionId == a.app.Session.Id {
messageId := parts[3]
var message client.SessionMessage
var message client.MessageInfo
bytes, _ := json.Marshal(msg.Content)
if err := json.Unmarshal(bytes, &message); err != nil {
status.Error(err.Error())