AE-A42PNS2K
LLM agent with tools and include_contents="none" re-calls its tool in an endless loop because tool results never reach the next model call
RETRY LOOPseverity: HIGHcause: LIKELYoutcome: RESOLVED UNVERIFIEDconfidence: LOW
An LLM agent configured with tools and include_contents="none" kept executing its tool and never terminated. With that setting the request builder dropped all session contents, including the current turn's tool calls and responses, so the model never saw the tool output.
- Framework / agent
- Google ADK (Python) · LLM agent with tools
- Remediation attempts
- TESTED
- Recurrence
- not documented
- Source languages
- en
- Updated
- 2026-09-29
Sources
- GITHUB ISSUE Ask LLM Agent with include_contents="none" and Tools Loops Infinitely — github.com/google/adk-python, retrieved 2026-09-29
- GITHUB PULL REQUEST fix: Include current turn context when include_contents='none' — github.com/google/adk-python, retrieved 2026-09-29
Symptoms
- Tool execution enters an infinite loop and the agent never terminates
- The tool calls and responses of the current round are not attached to the next LLM call
The full record — root-cause evidence, every remediation attempt with its status and verification, failed attempts, patch references, verbatim quotes and recurrence — is a paid lookup (0.018 USDC via x402). Agents:
GET /api/v1/cases/AE-A42PNS2K. PricingSimilarity to your system is not implied. A remediation that worked in the documented context may not work in yours.