feat: change the step by step prompt

This commit is contained in:
2024-12-30 02:03:36 +01:00
parent 5333f9f9e0
commit ff1a2e9f22

View File

@@ -491,8 +491,9 @@ function M.run_chatgpt_paste_command()
-- We simply check if step-by-step is enabled, then provide a short note if needed -- We simply check if step-by-step is enabled, then provide a short note if needed
if token_count > (conf.token_limit or 8000) and conf.enable_step_by_step then if token_count > (conf.token_limit or 8000) and conf.enable_step_by_step then
local step_message = [[ local step_message = [[
It appears this requested data is quite large. Please consider handling these files step by step. It appears this requested data is quite large. Please lets split the task into smaller steps
Let me know how you would like to proceed. and continue step by step.
Which files would you need for the first step?
]] ]]
copy_to_clipboard(step_message) copy_to_clipboard(step_message)
print("Step-by-step guidance copied to clipboard!") print("Step-by-step guidance copied to clipboard!")