Skip to main content

truncate_tool_output

Method
This is a method of the ContextManager class in the manager module.
Truncate tool output according to its budget.

Signature

Parameters

str
required
No description available.
str
required
No description available.

Returns

str
The result of the operation.

Uses

  • get_tool_budget
  • estimate_tokens

Source

View on GitHub

praisonaiagents/context/manager.py at line 789

Tools Concept

Create Custom Tools

Tool Development

Output Concept

Output Configuration