Custom tool throws error `ValueError: Invalid response from LLM call - None or empty`

I switched from claude-3-5-sonnet-20241022 to gpt-4o and it now works!
Is there a way we can have a fallback option where if one model fails to accomplish the task, another equally or more capable model can pick it up? I belive LiteLLM has this feature (Reliability - Retries, Fallbacks | liteLLM)

1 Like