https://retellai.com/?utm_source=discord&utm_medium=seo logo
Failed to get LLM responseError: Invalid current s...
# ❓・bug-report
k
Failed to get LLM response Error: Invalid current state i ahve tried different openai llm's but still getting the same thing when i do a agent transfer. tried 4.1, 5, and 5.1 both work on thier own when tested. But i can not have one agent transfer to the other. agent_85ee185f02b7341378503c883c @support @Support
t
It looks like the LLMs work fine individually, but the transfer fails due to an “Invalid current state” error, which usually means the session state isn’t compatible between agents. Check that both agents support the same conversation format and that the session isn’t pending or incomplete. Also, review any custom context data that might cause conflicts. Are you trying to keep the full conversation context during the transfer or start fresh? @kywilber
k
@Tremix i am fine with starting fresh as long as i can key the varables. the main goal was to drop bloat. couple of the prompts becasue of the amount of services are already bloated. so was going to swap off to new agent to clean the bloat.
t
That makes sense. We can definitely start fresh and key the variables to avoid the bloat. The next step would be to set up the new agent with a clean context and migrate only the essentials. Let’s discuss the details privately so we can streamline this efficiently. @kywilber
o
Hello @kywilber , can you share a call id ? or how to reproduce?
k
Almost back to office 30 min