Skip to main content

set_tool_budget

Method
This is a method of the ContextManager class in the manager module.
Set token budget for a specific tool.

Signature

Parameters

tool_name
str
required
No description available.
max_tokens
int
required
No description available.
protected
bool
default:"False"
No description available.

Uses

  • PerToolBudget

Source

View on GitHub

praisonaiagents/context/manager.py at line 779

Tools Concept

Create Custom Tools

Tool Development