Functionsยง
- enhance_
body_ for_ prefetch - Enhances an OpenAI-compatible request body with prefetch/caching hints based on backend.
Currently, for llama.cpp HTTP server (commonly http://127.0.0.1:8080), we set
cache_prompt = trueto enable prompt prefill caching across related requests.