### Answer
The "Failed to get LLM response" error when selecting Gemini models can occur for several reasons [(1) ](
) [(2) ](
) :
Possible causes:
1.
Invalid agent or LLM configuration - The agent might be referencing an LLM that doesn't exist or has been deleted [(1) ](
)
2.
Unpublished changes - If you've made changes to your LLM configuration but haven't published them, the system might not be able to access the updated version
3.
Missing LLM configuration - The agent might not have a valid LLM response engine configured
Troubleshooting steps:
1.
Verify your agent has a valid LLM configured - Check that your agent has a valid LLM response engine and that it exists in your dashboard
2.
Publish your changes - If you've made recent changes to your agent or LLM configuration, make sure to publish them in the dashboard
3.
Check available Gemini models - Retell supports
gemini-2.0-flash
,
gemini-2.0-flash-lite
,
gemini-2.5-flash
, and
gemini-2.5-flash-lite
[(3) ](
) [(4) ](
) [(5) ](
)
4.
Use debug tools - Try using the LLM Playground debug features to identify specific issues with your agent's response configuration [(1) ](
)
If the issue persists after these checks:
- Visit [Contact Sales](
)
- Visit [
)