|
Entropic 2.9.4
Local-first agentic inference engine
|
Abstract Tokenizer seam for backend testability (v2.3.10). More...
#include <cstdint>#include <string>#include <vector>

Go to the source code of this file.
Classes | |
| class | entropic::Tokenizer |
| Pure-virtual tokenizer surface used by the inference backend. More... | |
Namespaces | |
| namespace | entropic |
| Activate model on GPU (WARM → ACTIVE). | |
Abstract Tokenizer seam for backend testability (v2.3.10).
Pre-v2.3.10 LlamaCppBackend made llama.cpp tokenizer calls inline — meaning the tokenization paths were only exercisable with a loaded model. The unit-test coverage gate (CPU-only, no GGUFs) could never reach those lines. This abstract seam lets the backend's tokenize/detokenize/count callers route through a mockable interface; the production backend wires a LlamaCppTokenizer that forwards to llama.cpp; unit tests inject MockTokenizer and assert behavior without a model.
Definition in file tokenizer.h.