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

Function append_json_object_string

ds4_server.c:4739–4744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4737 goto bad;
4738 }
4739 } else if (!strcmp(key, "tools")) {
4740 free(tool_schemas);
4741 tool_schemas = NULL;
4742 if (!parse_tools_value(&p, &tool_schemas, &r->tool_orders)) {
4743 free(key);
4744 goto bad;
4745 }
4746 } else if (!strcmp(key, "tool_choice")) {
4747 json_ws(&p);

Calls 3

json_escapeFunction · 0.85
buf_freeFunction · 0.70

Tested by

no test coverage detected