MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getAutoToolSearchCharThreshold

Function getAutoToolSearchCharThreshold

src/utils/toolSearch.ts:115–117  ·  view source on GitHub ↗
(model: string)

Source from the content-addressed store, hash-verified

113 * Used as fallback when the token counting API is unavailable.
114 */
115export function getAutoToolSearchCharThreshold(model: string): number {
116 return Math.floor(getAutoToolSearchTokenThreshold(model) * CHARS_PER_TOKEN)
117}
118
119/**
120 * Get the total token count for all deferred tools using the token counting API.

Callers 1

checkAutoThresholdFunction · 0.85

Calls 1

Tested by

no test coverage detected