fix: collapsed tool calls hidden at times

This commit is contained in:
adamdotdevin
2025-08-11 13:54:48 -05:00
parent 00b4670b8b
commit 7a67fe7dde

View File

@@ -452,7 +452,7 @@ func (m *messagesComponent) renderView() tea.Cmd {
}
if finished {
key := m.cache.GenerateKey(casted.ID, part.Text, width, m.showToolDetails)
key := m.cache.GenerateKey(casted.ID, part.Text, width, m.showToolDetails, toolCallParts)
content, cached = m.cache.Get(key)
if !cached {
content = renderText(