https://retellai.com/?utm_source=discord&utm_medium=seo logo
Internal Error - Voice agent completely broken
# ❓・bug-report
c
Changed to GPT 5 and updated my custom function, it completely broke my agent. Every time I try to message the agent, it doesnt work - via web call, via manual chat. I cloned the agent - same error Changed the models - same error "Failed to get LLM response Error: Internal Server Error" Any suggestions on how to fix?
agent_03da70b308b5bc93089e081430
JSON is here if it helps
Only this agent is broken - other agents seem to work fine?
s
hi @cameron_50516 Try switching back to GPT-4 to confirm the issue is GPT-5 related
c
@shahretell Thanks for the response I tried switching to Gemini - 4o still the same issue (also tried switching the other agents to GPT 5 - no issues)
s
If only one agent is throwing “Internal Server Error” while others work fine, the issue is likely in that agent’s config or custom function — not the model. Try removing or simplifying the custom function, then test again. If it works, re-add logic step-by-step to find the breaking change. If it still fails with an empty function, the agent’s JSON might be corrupted and you’ll need to rebuild or have Retell support reset it.
c
ok thnaks - will try to remove the items and restore it
@shahretell Looks like removing the custom fucntions restored the chat model Thanks for the pointer - should be good from here