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