|
Entropic 2.9.5
Local-first agentic inference engine
|
Adapter factory implementation. More...
#include "adapter_registry.h"#include "generic_adapter.h"#include "nemotron3_adapter.h"#include "qwen35_adapter.h"#include "qwen36_adapter.h"#include <entropic/types/logging.h>#include <algorithm>#include <array>#include <functional>#include <string>#include <string_view>
Go to the source code of this file.
Namespaces | |
| namespace | entropic |
| Activate model on GPU (WARM → ACTIVE). | |
Functions | |
| std::unique_ptr< ChatAdapter > | entropic::create_adapter (const std::string &name, const std::string &tier_name, const std::string &identity_prompt) |
| Create adapter by name (gh#87 Phase D hybrid). | |
Adapter factory implementation.
gh#87 Phase D (v2.7.0): hybrid parse ownership. llama.cpp common_chat owns tool-call parsing for families it has a DEDICATED grammar for (gemma4 → PEG_GEMMA4, multi-parameter safe). Families that fall to common_chat's PEG autoparser (Qwen, nemotron3) keep their hand-rolled adapter, because the autoparser only extracts the first <parameter=> of a multi-parameter call. So:
Definition in file adapter_registry.cpp.
| AdapterFactory factory |
Definition at line 49 of file adapter_registry.cpp.
| std::string_view key |
Definition at line 48 of file adapter_registry.cpp.