mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 12:45:00 +00:00
Merge pull request #591 from paul-gauthier/restore-chat-history
Restore prior chat history on launch
This commit is contained in:
commit
45b2ba8a10
4 changed files with 68 additions and 29 deletions
|
@ -151,6 +151,12 @@ def get_parser(default_config_files, git_root):
|
|||
default=1024,
|
||||
help="Max number of tokens to use for repo map, use 0 to disable (default: 1024)",
|
||||
)
|
||||
group.add_argument(
|
||||
"--max-chat-history-tokens",
|
||||
type=int,
|
||||
default=None,
|
||||
help="Maximum number of tokens to use for chat history. If not specified, uses the model's max_chat_history_tokens.",
|
||||
)
|
||||
default_env_file = os.path.join(git_root, ".env") if git_root else ".env"
|
||||
group.add_argument(
|
||||
"--env-file",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue