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

Function kv_cache_evict

ds4_server.c:8592–8596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8590 const tool_schema_order *order = tool_schema_orders_find(orders, tc->name);
8591 if (item->is_custom || responses_tool_call_is_tool_search(tc, order)) return true;
8592 buf args = {0};
8593 append_json_object_string(&args, tc->arguments);
8594 buf b = {0};
8595 buf_printf(&b,
8596 "{\"type\":\"response.function_call_arguments.delta\","
8597 "\"item_id\":\"%s\",\"output_index\":%d,\"delta\":",
8598 item->fc_id, item->output_index);
8599 buf_append(&b, args.ptr ? args.ptr : "\"\"", args.ptr ? args.len : 2);

Calls 1

ds4_kvstore_evictFunction · 0.85