fix: planning prompts (#1202)

* fix: planning prompts

* fix: base prompts
This commit is contained in:
yetone
2025-02-06 23:16:49 +08:00
committed by GitHub
parent 29a71b2976
commit fd64662fa2
3 changed files with 19 additions and 1 deletions

View File

@@ -914,7 +914,7 @@ function M.read_file_from_buf_or_disk(file_path)
return vim.split(content, "\n"), file_type, nil
else
M.error("failed to open file: " .. file_path .. " with error: " .. open_err)
return nil, nil, open_err
return {}, nil, open_err
end
end