(model: string)
| 113 | * Used as fallback when the token counting API is unavailable. |
| 114 | */ |
| 115 | export 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. |
no test coverage detected