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

def truncate_tool_output(tool_name: str, output: str) -> str

Parameters

tool_name
str
required
No description available.
output
str
required
No description available.

Returns

Returns
str
The result of the operation.