mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-26 14:34:59 +00:00
Merge pull request #4257 from contributor/chat-history-files-auto-create-dir
This commit is contained in:
commit
d85078a610
1 changed files with 2 additions and 0 deletions
|
@ -308,9 +308,11 @@ class InputOutput:
|
|||
self.yes = yes
|
||||
|
||||
self.input_history_file = input_history_file
|
||||
Path(self.input_history_file).parent.mkdir(parents=True, exist_ok=True)
|
||||
self.llm_history_file = llm_history_file
|
||||
if chat_history_file is not None:
|
||||
self.chat_history_file = Path(chat_history_file)
|
||||
self.chat_history_file.parent.mkdir(parents=True, exist_ok=True)
|
||||
else:
|
||||
self.chat_history_file = None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue