ChatAdapter concrete base class.
Concrete base class for chat format adapters (80% logic).
ChatAdapter(std::string tier_name, std::string identity_prompt)
Construct adapter with tier identity.
Generic adapter using <tool_call>JSON</tool_call> format.
std::string chat_format() const override
Chat format: ChatML.
ParseResult parse_tool_calls(const std::string &content) const override
Parse tagged JSON tool calls.
Activate model on GPU (WARM → ACTIVE).
Parsed tool call result: cleaned content + extracted calls.