remaining • Rust AI Agent SDK

remaining: Get remaining tokens

remaining

Method

</div>

This is a method of the ContextManager class in the context module.

Get remaining tokens

Signature

python
def remaining(&self) -> usize

Returns

ResponseField usize

The result of the operation.