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

Function default_server_backend

ds4_server.c:11503–11511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11501 if (!responses_live_continuation) responses_live_clear(s, slot);
11502 if (!anthropic_live_continuation) anthropic_live_clear(s, slot);
11503 if (!thinking_live_continuation) thinking_live_clear(s, slot);
11504 ds4_session_set_progress(slot->session, NULL, NULL);
11505 ds4_session_set_display_progress(slot->session, NULL, NULL);
11506 kv_cache_maybe_store_continued(s, slot);
11507 server_log(DS4_LOG_PREFILL,
11508 "ds4-server: %s ctx=%s%s%s prompt done %.3fs",
11509 j->req.kind == REQ_CHAT ? "chat" : "completion",
11510 ctx_span,
11511 req_flags[0] ? " " : "",
11512 req_flags,
11513 now_sec() - t0);
11514 if (cold_store_len == prompt_for_sync->len) {

Callers 1

parse_optionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected