Select the best model for an agent capability, with budget-aware downgrade.
Queries the mesh RDF graph via the model-select-budget-aware SPARQL
template. If the token budget ratio falls below budgetThreshold, the
cheapest available model is returned instead of the highest-quality one.
Returns null if no agents with the requested capability and linked model
capabilities are found in the graph.
Select the best model for an agent capability, with budget-aware downgrade.
Queries the mesh RDF graph via the
model-select-budget-awareSPARQL template. If the token budget ratio falls belowbudgetThreshold, the cheapest available model is returned instead of the highest-quality one.Returns
nullif no agents with the requested capability and linked model capabilities are found in the graph.