feat: add the possibility to also add all files to initial context

This commit is contained in:
2025-02-08 02:21:12 +01:00
parent aa12bca3ab
commit 6723b802bf
3 changed files with 25 additions and 2 deletions

View File

@@ -61,6 +61,7 @@ function M.load()
project_name = "",
debug = false,
initial_files = {},
include_file_contents = false, -- NEW FLAG: include file contents in prompt if true
preview_changes = false,
interactive_file_selection = false,
partial_acceptance = false,
@@ -119,6 +120,9 @@ function M.load()
if type(result.initial_files) == "table" then
config.initial_files = result.initial_files
end
if type(result.include_file_contents) == "boolean" then -- LOAD NEW FLAG
config.include_file_contents = result.include_file_contents
end
if type(result.preview_changes) == "boolean" then
config.preview_changes = result.preview_changes
end