Skip to content

ai_assistant_tool_round_limit_coding

github-actions[bot] edited this page Nov 14, 2026 · 20 revisions

Filters the maximum number of consecutive tool-call rounds for coding workflows.

Coding workflows often need more read/edit/verify iterations than ordinary site questions.

Auto-generated Example

add_filter(
   'ai_assistant_tool_round_limit_coding',
    function( int $rounds ) {
        // Your code here.
        return $rounds;
    }
);

Parameters

  • int $rounds Maximum coding tool-call rounds. Default 50.

Files

apply_filters('ai_assistant_tool_round_limit_coding', 50)

← All Hooks

Clone this wiki locally