feat: add the possibility to also add all files to initial context
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user