https://retellai.com/?utm_source=discord&utm_medium=seo logo
error: Error encountered in LLM call
# ❓・bug-report
m
Hi, I'm experiencing an error with all calls related to one agent. After the call connects, the agent doesn't speak, so it's a silent call. Looking at the Retell logs, I see: "error: Error encountered in LLM call" This is a new error but is now consistently reproducing for every call. The only thing I've done recently is edited the prompt tree for my agent. If I use the "Test Audio" function within the agent dashboard, it doesn't work either. And when I try the "Test LLM" function, I get the following error: "Failed to get LLM response Error: Error met in text playground LLM call" Any indication as to what's causing this?
Update: happening across multiple agents.
Update: looks like it's an issue with GPT 4o in Retell. My own OpenAI API isn't impacted, so it might be worth exploring what's going on here. Temporary workaround: Switched my Retell agents to Anthropic models, but I'd like to know what's causing this issue. And as a feature request: If this occurs, it would be good to get graceful error handling, like models auto-swap in case of LLM errors, to avoid agent outage. I only happened to catch this error as I happened to be testing a new prompt tree. But this type of unhandled error could be seriously problematic in production.
c
Please log a ticket in #📒・feature-requests