This commit is contained in:
mubashir1osmani 2026-04-28 14:47:24 -04:00
parent 3a9f8ce14a
commit d4b6247121
No known key found for this signature in database
GPG key ID: AB055FF67D0B4D9A

View file

@ -794,8 +794,9 @@ def _extract_chain_output(
resp = standard_logging_payload.get("response")
text = _coerce_text(resp)
if text:
mime = "application/json" if isinstance(resp, (list, dict)) else None
return text, mime
return text, (
"application/json" if isinstance(resp, (list, dict)) else None
)
return None, None