Commit Graph

4 Commits

Author SHA1 Message Date
38fed741af Fixed regression from 3536438d
We were sending an empty string to the output channel when `ping`
messages were received from Anthropic's API. This was causing the TUI
to break since we were doing an empty chunk check (and mistakenly not
waiting for future chunks if one was received).

This commit makes it so we no longer an empty string on the ping
message from Anthropic, and, we update the handling of
msgAssistantChunk and msgAssistantReply to make it less likely that we
forget to wait for the next chunk/reply.
2024-05-30 18:55:24 +00:00
97cd047861 Cleaned up tui view switching 2024-05-30 07:18:31 +00:00
ed784bb1cf Clean up tui View handling 2024-05-30 07:05:08 +00:00
c1792f27ff Split up tui code into packages (views/*, shared, util) 2024-05-30 06:44:40 +00:00