Closed hi019 closed 6 months ago
Hi @hi019 this is not a bug, it's expected behaviour since openai's pydantic object expects content if not none, to be a non-empty string.
What would you expect to happen here?
closing as this isn't a "bug", but i'm open to your feedback on this @hi019
What happened?
Sometimes Anthropic returns an empty
content
array. LiteLLM doesn't expect this and throws an error:Repro:
Relevant log output
No response
Twitter / LinkedIn details
No response