getAutoToolSearchCharThreshold method
Get the character threshold for auto-enabling tool search for a given model.
Implementation
int getAutoToolSearchCharThreshold({
required String model,
required int contextWindow,
}) {
return (getAutoToolSearchTokenThreshold(
model: model,
contextWindow: contextWindow,
) *
_charsPerToken)
.floor();
}