File tree Expand file tree Collapse file tree
lua/codecompanion/interactions/chat/tools
builtin/insert_edit_into_file Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717--- Prompt the user for a rejection reason
1818--- @param callback function
1919local function get_rejection_reason (callback )
20- ui_utils .input ({ prompt = " Rejection reason" }, function (input )
20+ ui_utils .input ({ prompt = " Rejection reason: " }, function (input )
2121 callback (input or " " )
2222 end )
2323end
Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ function Orchestrator:setup_next_tool(input)
322322 keymap = keys .reject ,
323323 label = labels .reject ,
324324 callback = function ()
325- ui_utils .input ({ prompt = fmt (" Reason for rejecting `%s`" , self .tool .name ) }, function (i )
325+ ui_utils .input ({ prompt = fmt (" Reason for rejecting `%s`: " , self .tool .name ) }, function (i )
326326 self .output .rejected (cmd , { reason = i })
327327 self :setup_next_tool ()
328328 end )
You can’t perform that action at this time.
0 commit comments