The process_playbook_kwargs method (which update_playbook calls to handle keyword arguments), there's no logic that checks for an overwrite_instructions argument.
Expected Behavior
when overwrite_instructions is set to True the playbook instructions should be overwritten instead of append.
Current Behavior
when overwrite_instructions is set to True, there is a warning/error of un declared argument.
Possible Solution
Modify update_playbook to handle overwrite_instructions
Steps to Reproduce
Context (Environment)
Detailed Description
Possible Implementation
The
process_playbook_kwargsmethod (which update_playbook calls to handle keyword arguments), there's no logic that checks for an overwrite_instructions argument.Expected Behavior
when
overwrite_instructionsis set to True the playbook instructions should be overwritten instead of append.Current Behavior
when
overwrite_instructionsis set to True, there is a warning/error of un declared argument.Possible Solution
Modify
update_playbookto handleoverwrite_instructionsSteps to Reproduce
Context (Environment)
Detailed Description
Possible Implementation