factor_agent.llm.base.ProviderReplyMalformed#

exception ProviderReplyMalformed[source]#

Bases: RuntimeError

The provider answered, without an error, something that is not a reply; its message says what it lacked.

Such as a body of null (DeepSeek, after the blank lines it sends while a call waits), a reply without its text or its usage, or output that is not the JSON it should be. The SDKs do not retry it, as the answer came back as a success; a campaign asks again, a few times (AskingAgain), before raising it.