diff --git a/internal/ui/chat/chat.go b/internal/ui/chat/chat.go index e4b3ff1232fc9ee8715965dbe10af188ae815fef..30220942f16c680e4c18babfd2492778929fe2c9 100644 --- a/internal/ui/chat/chat.go +++ b/internal/ui/chat/chat.go @@ -229,15 +229,6 @@ func (m *Chat) UpdateItems(msg tea.Msg) tea.Cmd { return m.list.UpdateItems(msg) } -// ToolItemUpdater is implemented by tool items that support mutable updates. -type ToolItemUpdater interface { - SetResult(result message.ToolResult) - SetCancelled() - UpdateCall(call message.ToolCall) - SetNestedCalls(calls []ToolCallContext) - Context() *ToolCallContext -} - // GetToolItem returns the tool item with the given ID, or nil if not found. func (m *Chat) GetToolItem(id string) ToolItem { for i := 0; i < m.list.Len(); i++ {