|
Entropic 2.9.4
Local-first agentic inference engine
|
ChatAdapter concrete base class. More...
#include <entropic/types/message.h>#include <entropic/types/tool_call.h>#include <optional>#include <string>#include <string_view>#include <unordered_set>#include <vector>

Go to the source code of this file.
Classes | |
| struct | entropic::ParseResult |
| Parsed tool call result: cleaned content + extracted calls. More... | |
| class | entropic::ChatAdapter |
| Concrete base class for chat format adapters (80% logic). More... | |
Namespaces | |
| namespace | entropic |
| Activate model on GPU (WARM → ACTIVE). | |
Functions | |
| std::vector< ToolCall > | entropic::recover_action_envelope_calls (const std::string &raw) |
| gh#88: recover tool calls a gemma model parroted as bare-JSON. | |
| void | entropic::apply_action_envelope_recovery (std::vector< ToolCall > &calls, const std::string &raw) |
| gh#88: substitute recovered bare-JSON calls when a reliable (PEG_GEMMA4 / gemma) parse produced none; logs the recovery. | |
| void | entropic::coerce_string_typed_args (std::vector< ToolCall > &calls, const std::string &tools_json) |
| gh#90: coerce numeric scalars back to strings for string-typed tool parameters. | |
ChatAdapter concrete base class.
Internal to inference .so — nlohmann/json used internally, not in interface headers.
Definition in file adapter_base.h.