Explore adding a budget checker as a special tool that allows the agent to query its remaining budget during rollout.
While the agent could learn to estimate its budget implicitly, exposing this as a callable tool might improve efficiency and stability.
Unlike regular tools (e.g., code or tag-based tools), this would be a non-standard tool with its own tags or stop strings, for example, <budget_check>.
It wouldn’t take arguments from the agent but instead use the full conversation as input and return the remaining budget directly.
Implementation would likely require integration into the rollout loop itself, checking for the special tag and inserting the budget output dynamically when triggered.
Explore adding a budget checker as a special tool that allows the agent to query its remaining budget during rollout.
While the agent could learn to estimate its budget implicitly, exposing this as a callable tool might improve efficiency and stability.
Unlike regular tools (e.g., code or tag-based tools), this would be a non-standard tool with its own tags or stop strings, for example,
<budget_check>.It wouldn’t take arguments from the agent but instead use the full conversation as input and return the remaining budget directly.
Implementation would likely require integration into the rollout loop itself, checking for the special tag and inserting the budget output dynamically when triggered.