| 11380 | } |
| 11381 | |
| 11382 | static void kv_cache_slot_note_store(server_slot *slot, int tokens) { |
| 11383 | if (slot && tokens > slot->continued_last_store_tokens) { |
| 11384 | slot->continued_last_store_tokens = tokens; |
| 11385 | } |
| 11386 | } |
| 11387 | |
| 11388 | static int kv_cache_slot_suppress_continued(server *s, server_slot *slot, |
| 11389 | int tokens) { |
| 11390 | if (kv_cache_slot_continued_target(s, slot, tokens) != tokens) return -1; |
| 11391 | int old = slot->continued_last_store_tokens; |
no outgoing calls