Get Model Limit • Rust AI Agent SDK

get_model_limit: Get context limit for a model.

get_model_limit

Function

</div>

This function is defined in the context module.

Get context limit for a model.

Signature

python
def get_model_limit(model: &str) -> usize

Parameters

ParamField &str

No description available.

Returns

ResponseField usize

The result of the operation.

Source

View on GitHub

praisonai/src/context/mod.rs at line 278


Related Documentation