Skip to content

Commit fca0534

Browse files
committed
chore(formatter): status param was not opptional
1 parent d91cea7 commit fca0534

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/opencode/ui/formatter.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ local tool_summary_handlers = {
817817
---Build the action line string for a part (icon + meaningful value, no duration)
818818
---Used to show per-tool icon+label in child session activity lists.
819819
---@param part OpencodeMessagePart
820-
---@param status string Optional icon name to use for the status (e.g., 'running', 'completed', 'error'). If not provided, will use the default icon for the tool.
820+
---@param status string icon name to use for the status (e.g., 'running', 'completed', 'error'). If not provided, will use the default icon for the tool.
821821
---@return string
822822
function M._tool_action_line(part, status)
823823
local tool = part.tool

0 commit comments

Comments
 (0)