| 14460 | const char *detail = err[0] ? err : "invalid tool call"; |
| 14461 | server_log(DS4_LOG_WARNING, |
| 14462 | "ds4-server: chat ctx=%s%s%s invalid tool call; continuing with model-visible tool error", |
| 14463 | ctx_span, |
| 14464 | req_flags[0] ? " " : "", |
| 14465 | req_flags); |
| 14466 | trace_event(s, trace_id, |
| 14467 | "invalid tool call; continuing with model-visible tool error"); |
| 14468 | if (continue_after_invalid_dsml(s, slot, &j->req, &thinking, |
| 14469 | detail, |
| 14470 | &recovery_tokens, |
| 14471 | recovery_err, |
no test coverage detected