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

Function kv_cache_tool_map_load_cb

ds4_server.c:8690–8692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8688
8689 buf b = {0};
8690 buf_printf(&b,
8691 "{\"type\":\"%s\",\"response\":{\"id\":\"%s\","
8692 "\"object\":\"response\",\"created_at\":%ld,\"status\":\"%s\",\"model\":",
8693 event_type, st->response_id, created_at, status);
8694 json_escape(&b, r->model);
8695 if (!strcmp(event_type, "response.failed")) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected