Identifies how the model formats tool calls, reasoning blocks, and content.
Opaque chat format identifier returned by
formatChat() and consumed by
parseChatOutput().
Maps 1:1 to llama.cpp's common_chat_format enum (30+ values).
Treat as an opaque number — pass through, don't switch on it.
Chat format detected by the template engine
Identifies how the model formats tool calls, reasoning blocks, and content. Opaque chat format identifier returned by formatChat() and consumed by parseChatOutput().
Maps 1:1 to llama.cpp's
common_chat_formatenum (30+ values). Treat as an opaque number — pass through, don't switch on it.