|
Entropic 2.11.1
Local-first agentic inference engine
|
The reasoning-block delimiters a model family emits (gh#108). More...
#include <entropic/inference/adapters/adapter_base.h>
Public Attributes | |
| std::string | open = "<think>" |
| Opening delimiter. | |
| std::string | close = "</think>" |
| Closing delimiter. | |
The reasoning-block delimiters a model family emits (gh#108).
Thinking format is a property of the chat template, not of the transport: Qwen/Nemotron wrap reasoning in <think>…</think>, Gemma-4 QAT uses <|channel>…<channel|>. Declaring the pair once per adapter keeps the buffered strip (ChatAdapter::strip_think_blocks) and the live stream filter (StreamThinkFilter) from drifting apart — before v2.10.3 they were two independent hardcoded literals and gemma4 matched neither.
Definition at line 61 of file adapter_base.h.
| std::string entropic::ThinkMarkers::close = "</think>" |
Closing delimiter.
Definition at line 63 of file adapter_base.h.
| std::string entropic::ThinkMarkers::open = "<think>" |
Opening delimiter.
Definition at line 62 of file adapter_base.h.