| 375 | } |
| 376 | |
| 377 | static size_t json_array_size(const json & value) { |
| 378 | return value.is_array() ? value.size() : 0; |
| 379 | } |
| 380 | |
| 381 | int resolve_max_output_tokens(const json & body, int default_max_tokens) { |
| 382 | if (body.contains("max_tokens")) { |
no test coverage detected