fix: change default values
This commit is contained in:
@@ -96,17 +96,18 @@ function M.load()
|
||||
initial_prompt = "",
|
||||
directories = { "." },
|
||||
default_prompt_blocks = {},
|
||||
token_limit = 128000,
|
||||
-- Changed default from 128000 to 16384 as requested
|
||||
token_limit = 16384,
|
||||
project_name = "",
|
||||
debug = false,
|
||||
initial_files = {},
|
||||
|
||||
-- Additional new config flags
|
||||
preview_changes = false,
|
||||
interactive_file_selection = false,
|
||||
partial_acceptance = false,
|
||||
improved_debug = false,
|
||||
enable_chunking = false
|
||||
enable_chunking = false,
|
||||
-- New default for step-by-step
|
||||
enable_step_by_step = true
|
||||
}
|
||||
|
||||
if fd then
|
||||
@@ -152,6 +153,10 @@ function M.load()
|
||||
if type(result.enable_chunking) == "boolean" then
|
||||
config.enable_chunking = result.enable_chunking
|
||||
end
|
||||
-- Added logic to load enable_step_by_step from user config
|
||||
if type(result.enable_step_by_step) == "boolean" then
|
||||
config.enable_step_by_step = result.enable_step_by_step
|
||||
end
|
||||
end
|
||||
end
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user