Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
gemma4_adapter.cpp File Reference

Gemma 4 adapter implementation (v2.1.9, gh#46). More...

#include "gemma4_adapter.h"
#include <regex>
Include dependency graph for gemma4_adapter.cpp:

Go to the source code of this file.

Namespaces

namespace  entropic
 Activate model on GPU (WARM → ACTIVE).
 

Detailed Description

Gemma 4 adapter implementation (v2.1.9, gh#46).

Permissive multi-format tool parser, GGUF-embedded chat template, shared base-class think-block stripping. The v2.3.8 work (gh#69) resolved the open question on Gemma 4's native tool-call syntax: the model emits a ChatML-style channel with the asymmetric open header <|im_start|>tool_call and a plain </tool_call> close.

Version
2.3.8

Definition in file gemma4_adapter.cpp.