-
Notifications
You must be signed in to change notification settings - Fork 402
Open
Description
π Prerequisites
- I have searched the existing issues to avoid creating a duplicate
- By submitting this issue, you agree to follow our Code of Conduct
π 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?
- I am willing to submit a PR for this feature
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Backlog