(contextLimit, softLimit int)
| 17 | ) |
| 18 | |
| 19 | func getL3CollapseThreshold(contextLimit, softLimit int) int { |
| 20 | l4Threshold := softLimit |
| 21 | return MaxInt(1, MinInt(MinInt(defaultCollapseThresholdTokens, softLimit), l4Threshold-1)) |
| 22 | } |
| 23 | |
| 24 | func GetL3CollapseThreshold(contextLimit, softLimit int) int { |
| 25 | return getL3CollapseThreshold(contextLimit, softLimit) |
no test coverage detected