b12686
The update addresses a bug where prompt cache lookups were being skipped in the server, by moving the lookup logic into server_slot_sched::select() to ensure the plan determines cache updates. The functions find_better() and has_better() are now const, and find_better() also returns the common prefix, eliminating redundant computations in load().