Skip to content

Commit 2741ee9

Browse files
committed
Don't recreate existing tool messages
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
1 parent db66883 commit 2741ee9

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

pkg/tui/components/messages/messages.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -632,10 +632,7 @@ func (m *model) AddOrUpdateToolCall(agentName string, toolCall tools.ToolCall, t
632632
msg.ToolCall.Function.Arguments = toolCall.Function.Arguments
633633
}
634634
m.invalidateItem(i)
635-
636-
view := m.createToolCallView(msg)
637-
m.views[i] = view
638-
return view.Init()
635+
return nil
639636
}
640637
}
641638

0 commit comments

Comments
 (0)