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