Enum LM.TemplateFormatFlags
Flags controlling how a template formats system/developer messages and suffixes.
[Flags]
public enum LM.TemplateFormatFlags
Fields
None = 0No special handling.
NoSystemSupport = 1The model lacks explicit system-prompt support; system text is inlined into user content.
SystemPromptInterpolation = 2System prompts are injected with explicit prefix/suffix interpolation.
SuffixFromEOSToken = 4The message terminator/suffix is derived from the model's EOS token.
HasReasoningSupport = 8The model/template supports intermediate reasoning ("thinking") turns.
HasDeveloperMessage = 16The template supports a distinct developer/application message channel.
HasToolsCatalog = 32The template requires tools to be declared in a separate catalog block that appears outside the conversational message flow. When set, tool schemas are rendered independently from system/user messages using ToolsCatalog.