| 858 | } |
| 859 | |
| 860 | void kv_cache_clear() { |
| 861 | // clear the entire KV cache |
| 862 | llama_kv_cache_clear(ctx); |
| 863 | clean_kv_cache = false; |
| 864 | } |
| 865 | |
| 866 | void update_system_prompt() { |
| 867 | system_tokens = ::llama_tokenize(ctx, system_prompt, true); |
nothing calls this directly
no test coverage detected