Table of Contents

Enum LM.TemplateFormatFlags

Namespace
LMKit.Model
Assembly
LM-Kit.NET.dll

Flags controlling how a template formats system/developer messages and suffixes.

[Flags]
public enum LM.TemplateFormatFlags

Fields

None = 0

No special handling.

NoSystemSupport = 1

The model lacks explicit system-prompt support; system text is inlined into user content.

SystemPromptInterpolation = 2

System prompts are injected with explicit prefix/suffix interpolation.

SuffixFromEOSToken = 4

The message terminator/suffix is derived from the model's EOS token.

HasReasoningSupport = 8

The model/template supports intermediate reasoning ("thinking") turns.

HasDeveloperMessage = 16

The template supports a distinct developer/application message channel.

HasToolsCatalog = 32

The 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.