| 176 | int window, |
| 177 | const std::vector<int> & safe_boundaries, |
| 178 | int min_tokens) { |
| 179 | if (prompt_ids.empty() || recent_prompts.empty() || window <= 0) return 0; |
| 180 | |
| 181 | const int n_recent = std::min(window, (int)recent_prompts.size()); |
no outgoing calls
no test coverage detected