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

Function tool_memory_touch

ds4_server.c:7798–7803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7796 buf_printf(&b,
7797 "{\"id\":\"%s\",\"type\":\"reasoning\",\"status\":\"%s\",\"summary\":[",
7798 st->reasoning_id, reasoning_status);
7799 if (st->reasoning_text.len) {
7800 buf_puts(&b, "{\"type\":\"summary_text\",\"text\":");
7801 json_escape_n(&b, st->reasoning_text.ptr, st->reasoning_text.len);
7802 buf_putc(&b, '}');
7803 }
7804 buf_puts(&b, "]}");
7805 wrote = true;
7806 }

Callers 2

tool_memory_put_lockedFunction · 0.85

Calls 2

tool_memory_unlinkFunction · 0.85
tool_memory_link_headFunction · 0.85

Tested by

no test coverage detected