Merge pull request #1966 from fry69/chat-history-fix

This commit is contained in:
paul-gauthier 2024-10-07 15:54:19 -07:00 committed by GitHub
commit 456c163cb9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -237,8 +237,10 @@ def get_parser(default_config_files, git_root):
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."
(
"Soft limit on tokens for chat history, after which summarization begins."
" If unspecified, defaults to the model's max_chat_history_tokens."
),
),
)
# This is a duplicate of the argument in the preparser and is a no-op by this time of