LLM Latency Spikes (3-5 min) during Error Handling in Google ADK #973
Unanswered
fedorovychh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When a tool wrote with Google ADK returns a "failed operation" response, the LLM experiences an abnormal delay (3–5 minutes) before attempting to fix parameters or respond. This "infinite thinking" loop occurs specifically after an error is injected into the conversation context.
What are the most effective strategies to prevent the LLM from getting stuck in a "reasoning loop" after a tool failure—is it better to strip the error response to a bare code, or is there a specific ADK configuration to bypass this latency?
Beta Was this translation helpful? Give feedback.
All reactions