Skip to content

docs: add max_old_tool_call_tokens and max_consecutive_tool_calls to agent config reference#2229

Merged
dgageot merged 1 commit intodocker:mainfrom
dgageot:board/fix-docker-agent-issue-2228-c3556d9b
Mar 24, 2026
Merged

docs: add max_old_tool_call_tokens and max_consecutive_tool_calls to agent config reference#2229
dgageot merged 1 commit intodocker:mainfrom
dgageot:board/fix-docker-agent-issue-2228-c3556d9b

Conversation

@dgageot
Copy link
Member

@dgageot dgageot commented Mar 24, 2026

Fixes #2228

Adds documentation for max_old_tool_call_tokens and max_consecutive_tool_calls to the agent configuration reference page:

  • Added both properties to the YAML schema block
  • Added both properties to the properties reference table with descriptions and defaults
    • max_old_tool_call_tokens: default 40000, set to -1 to disable truncation
    • max_consecutive_tool_calls: default 5

…agent config reference

Assisted-By: docker-agent
@dgageot dgageot requested a review from a team as a code owner March 24, 2026 12:47
Copy link

@docker-agent docker-agent bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

This documentation change adds two new agent configuration parameters to the reference documentation:

  • max_consecutive_tool_calls: Maximum consecutive identical tool calls (default: 5)
  • max_old_tool_call_tokens: Token budget for old tool call content (default: 40000, -1 to disable)

The additions are consistent with the schema and implementation. No issues found in the changed code.

@dgageot dgageot merged commit 9b76c88 into docker:main Mar 24, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[documentation] max_old_tool_call_tokens

2 participants