(texts: string[])
| 76 | } |
| 77 | |
| 78 | export function estimateTokensBatch(texts: string[]): number { |
| 79 | if (texts.length === 0) return 0 |
| 80 | return countTokens(texts.join(" ")) |
| 81 | } |
| 82 | |
| 83 | export const COMPACTED_TOOL_OUTPUT_PLACEHOLDER = "[Old tool result content cleared]" |
| 84 |