Add enable_history_truncation option to disable history truncation (#6820)

Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
This commit is contained in:
Boxuan Li
2025-02-20 22:43:02 -08:00
committed by GitHub
parent e52aee168e
commit d33913e036
6 changed files with 110 additions and 18 deletions

View File

@@ -234,6 +234,10 @@ codeact_enable_jupyter = true
# List of microagents to disable
#disabled_microagents = []
# Whether history should be truncated to continue the session when hitting LLM context
# length limit
enable_history_truncation = true
[agent.RepoExplorerAgent]
# Example: use a cheaper model for RepoExplorerAgent to reduce cost, especially
# useful when an agent doesn't demand high quality but uses a lot of tokens