We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55eba4e commit 1adbc8eCopy full SHA for 1adbc8e
lua/opencode/ui/renderer.lua
@@ -353,8 +353,8 @@ function M.on_part_updated(properties)
353
if is_new_part then
354
table.insert(message.parts, part)
355
else
356
- for i, existing_part in ipairs(message.parts) do
357
- if existing_part.id == part.id then
+ for i = #message.parts, 1, -1 do
+ if message.parts[i].id == part.id then
358
message.parts[i] = part
359
break
360
end
0 commit comments