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

Function kv_cache_tool_map_write_cb

ds4_server.c:8685–8688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8683 * of a "completed" wrapper marked failed in a sub-field. */
8684 const char *event_type = "response.completed";
8685 if (finish && !strcmp(finish, "error")) event_type = "response.failed";
8686 else if (finish && !strcmp(finish, "length")) event_type = "response.incomplete";
8687 const char *status = responses_status_for_finish(finish);
8688
8689 buf b = {0};
8690 buf_printf(&b,
8691 "{\"type\":\"%s\",\"response\":{\"id\":\"%s\","

Callers

nothing calls this directly

Calls 1

kv_tool_map_writeFunction · 0.85

Tested by

no test coverage detected