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
def get_model_limit(model: &str) -> usizeParameters
ParamField
&strNo description available.
Returns
ResponseField
usizeThe result of the operation.
Source
View on GitHubpraisonai/src/context/mod.rs at line 278