Skip to content

Commit 9e78ef0

Browse files
committed
chore(session_formatter): type annotation _calculate_revert_stats
1 parent 25c5e10 commit 9e78ef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/opencode/ui/session_formatter.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function M.get_lines()
163163
end
164164

165165
---Calculate statistics for reverted messages and tool calls
166-
---@param messages Message[] All messages in the session
166+
---@param messages {info: Message, parts: MessagePart[]}[] All messages in the session
167167
---@param revert_index number Index of the message where revert occurred
168168
---@param revert_info SessionRevertInfo Revert information
169169
---@return {messages: number, tool_calls: number, files: table<string, {additions: number, deletions: number}>}

0 commit comments

Comments
 (0)