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

Function test_client_socket_nonblocking_flag

ds4_server.c:14630–14640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14628 } else if (!parsed_calls.len &&
14629 should_remember_thinking_checkpoint(&j->req, &thinking, final_finish)) {
14630 remember_thinking_checkpoint(s, slot, j, ctx_span, trace_id,
14631 parsed_content ? parsed_content : "",
14632 thinking_live_continuation ||
14633 (disk_cache_ext_flags & KV_EXT_THINKING_VISIBLE));
14634 } else if (!parsed_calls.len) {
14635 thinking_live_clear(s, slot);
14636 }
14637
14638 bool response_ok = !job_cancelled(j);
14639 if (response_ok && j->req.stream) {
14640 if (j->req.api == API_ANTHROPIC) {
14641 response_ok = anthropic_sse_finish_live(j->fd, s, &j->req, id, &anthropic_live,
14642 text.ptr ? text.ptr : "", text.len,
14643 &parsed_calls, final_finish, completion);

Callers 1

Calls 1

Tested by

no test coverage detected