Skip to content

Commit 26e00bb

Browse files
committed
feat(quick_chat): update default conf
1 parent bdbd2e9 commit 26e00bb

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
@@ -193,7 +193,7 @@ M.defaults = {
193193
enabled = true,
194194
},
195195
buffer = {
196-
enabled = false, -- Only used for inline editing, disabled by default
196+
enabled = false, -- Disable entire buffer context by default, only used in quick chat
197197
},
198198
git_diff = {
199199
enabled = false,
@@ -203,6 +203,10 @@ M.defaults = {
203203
enabled = false,
204204
capture_streamed_events = false,
205205
show_ids = true,
206+
quick_chat = {
207+
keep_session = false,
208+
set_active_session = false,
209+
},
206210
},
207211
prompt_guard = nil,
208212
hooks = {
@@ -212,8 +216,8 @@ M.defaults = {
212216
on_permission_requested = nil,
213217
},
214218
quick_chat = {
215-
default_model = nil, -- Use current model if nil
216-
default_agent = nil, -- Use current mode if nil
219+
default_model = nil,
220+
default_agent = 'plan', -- plan ensure no file modifications by default
217221
default_prompt = nil, -- Use built-in prompt if nil
218222
},
219223
}

0 commit comments

Comments
 (0)