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 e9f8595 commit 8e477b0Copy full SHA for 8e477b0
lua/opencode/ui/renderer.lua
@@ -46,7 +46,7 @@ function M.reset()
46
state.messages = {}
47
state.last_user_message = nil
48
49
- if state.current_permission then
+ if state.current_permission and state.api_client then
50
require('opencode.api').respond_to_permission('reject')
51
state.current_permission = nil
52
end
0 commit comments