Can Add Context • Rust AI Agent SDK
can_add_context: Check if budget allows more context
can_add_context
Method
</div>
This is a method of the TokenBudget class in the rag module.
Check if budget allows more context
Signature
def can_add_context(&self, tokens: usize) -> boolParameters
ParamField
usizeNo description available.
Returns
ResponseField
boolThe result of the operation.