📋 Prerequisites
📝 Feature Summary
Add support for configurable recursion_limit for LangGraph agents
❓ Problem Statement / Motivation
When using KAgentApp with LangGraph, there's no way to configure recursion_limit (max agent steps). LangGraph defaults to 25 steps, which may be insufficient for complex multi-step tasks.
💡 Proposed Solution
Add mechanism to configure recursion_limit in one of the following ways
- KAgentApp constructor:
KAgentApp(graph, recursion_limit=50)
- Agent CRD spec:
spec.recursionLimit: 50
- environment variable:
LANGGRAPH_RECURSION_LIMIT
🔄 Alternatives Considered
No response
🎯 Affected Service(s)
None
📚 Additional Context
No response
🙋 Are you willing to contribute?
📋 Prerequisites
📝 Feature Summary
Add support for configurable recursion_limit for LangGraph agents
❓ Problem Statement / Motivation
When using KAgentApp with LangGraph, there's no way to configure
recursion_limit(max agent steps). LangGraph defaults to 25 steps, which may be insufficient for complex multi-step tasks.💡 Proposed Solution
Add mechanism to configure
recursion_limitin one of the following waysKAgentApp(graph, recursion_limit=50)spec.recursionLimit: 50LANGGRAPH_RECURSION_LIMIT🔄 Alternatives Considered
No response
🎯 Affected Service(s)
None
📚 Additional Context
No response
🙋 Are you willing to contribute?