| 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)) { |
no outgoing calls
no test coverage detected