Skip to content

Commit 9646053

Browse files
committed
feat(quick_chat): update default conf
1 parent c73b7be commit 9646053

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

lua/opencode/config.lua

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ M.defaults = {
190190
enabled = true,
191191
},
192192
buffer = {
193-
enabled = false, -- Only used for inline editing, disabled by default
193+
enabled = false, -- Disable entire buffer context by default, only used in quick chat
194194
},
195195
git_diff = {
196196
enabled = false,
@@ -200,6 +200,10 @@ M.defaults = {
200200
enabled = false,
201201
capture_streamed_events = false,
202202
show_ids = true,
203+
quick_chat = {
204+
keep_session = false,
205+
set_active_session = false,
206+
},
203207
},
204208
prompt_guard = nil,
205209
hooks = {
@@ -209,8 +213,8 @@ M.defaults = {
209213
on_permission_requested = nil,
210214
},
211215
quick_chat = {
212-
default_model = nil, -- Use current model if nil
213-
default_agent = nil, -- Use current mode if nil
216+
default_model = nil,
217+
default_agent = 'plan', -- plan ensure no file modifications by default
214218
default_prompt = nil, -- Use built-in prompt if nil
215219
},
216220
}

0 commit comments

Comments
 (0)