MCPcopy Create free account
hub / github.com/antirez/ds4 / xmalloc

Function xmalloc

ds4_agent.c:341–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339static void agent_publish_system_status(agent_worker *w, const char *msg);
340static int agent_web_confirm(void *privdata, const char *message,
341 char *err, size_t err_len);
342static void agent_web_log(void *privdata, const char *message);
343static bool agent_preflight_edit_old(agent_worker *w, const agent_tool_call *call,
344 char *err, size_t err_len);
345static int agent_worker_sync_tokens(agent_worker *w, const ds4_tokens *tokens,
346 bool publish_progress,
347 char *err, size_t err_len);
348static int agent_read_default_lines(agent_worker *w);
349
350static agent_tool_syntax agent_tool_syntax_for_engine(ds4_engine *engine) {
351 return ds4_engine_is_glm_dsa(engine) ? AGENT_TOOL_SYNTAX_GLM

Callers 15

xstrdupFunction · 0.70
xstrndupFunction · 0.70
agent_build_tools_promptFunction · 0.70
agent_publishfFunction · 0.70
agent_tail_capture_takeFunction · 0.70
renderer_processFunction · 0.70
agent_stream_textFunction · 0.70
agent_kv_read_textFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected