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

Function find_any_tool_start

ds4_server.c:4229–4240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4227 } else if (!strcmp(key, "chat_template_kwargs")) {
4228 if (!parse_chat_template_kwargs(&p, &thinking_enabled, &got_thinking, &reasoning_effort)) {
4229 free(key);
4230 goto bad;
4231 }
4232 } else if (!strcmp(key, "think")) {
4233 if (!json_bool(&p, &thinking_enabled)) {
4234 free(key);
4235 goto bad;
4236 }
4237 got_thinking = true;
4238 } else if (!strcmp(key, "stop")) {
4239 if (!parse_stop(&p, &r->stops)) {
4240 free(key);
4241 goto bad;
4242 }
4243 } else if (!json_skip_value(&p)) {

Callers 6

observe_tool_markersFunction · 0.85
openai_sse_stream_updateFunction · 0.85
text_stream_safe_limitFunction · 0.85
chat_think_tool_recoveryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected