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

ToolCallHistory ring buffer implementation. More...

#include <entropic/mcp/tool_call_history.h>
#include <entropic/types/logging.h>
#include <nlohmann/json.hpp>
#include <algorithm>
Include dependency graph for tool_call_history.cpp:

Go to the source code of this file.

Namespaces

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

Functions

static nlohmann::json entropic::record_to_json (const ToolCallRecord &rec)
 Serialize a single ToolCallRecord to JSON.
 
std::string entropic::summarize_params (const std::string &args_json)
 Extract top-level JSON keys as a comma-separated summary.
 
std::string entropic::truncate_result (const std::string &text, size_t max_len)
 Truncate a string to max_len characters with "..." suffix.
 

Variables

static auto logger = entropic::log::get("mcp.history")
 

Detailed Description

ToolCallHistory ring buffer implementation.

Version
1.9.12

Definition in file tool_call_history.cpp.

Variable Documentation

◆ logger

auto logger = entropic::log::get("mcp.history")
static

Definition at line 15 of file tool_call_history.cpp.