From 8ddf05584cc0cd5b2fc7bdf51383ff727e57d658 Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Mon, 15 Dec 2025 17:09:40 +0100 Subject: [PATCH] chore: remove duplicate interface --- internal/ui/chat/chat.go | 9 --------- 1 file changed, 9 deletions(-) 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++ {