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

Function tool_memory_has_id

ds4_server.c:8084–8090  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8082 if (tool_before_close) {
8083 if (complete_tool) {
8084 st->emit_pos = (size_t)(tool - raw);
8085 st->mode = OPENAI_STREAM_SUPPRESS;
8086 }
8087 return true;
8088 }
8089
8090 if (close) {
8091 st->emit_pos = (size_t)(close - raw) + strlen("</think>");
8092 st->mode = OPENAI_STREAM_TEXT;
8093 } else if (final) {

Callers 3

openai_tool_stream_idFunction · 0.85
anthropic_tool_stream_idFunction · 0.85
assign_tool_call_idsFunction · 0.85

Calls 1

Tested by

no test coverage detected