mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
lint
This commit is contained in:
parent
3a9f8ce14a
commit
d4b6247121
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue