We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec6f774 + cde0579 commit 8425c8dCopy full SHA for 8425c8d
src/uipath_langchain/_cli/_runtime/_runtime.py
@@ -94,6 +94,14 @@ async def execute(self) -> Optional[UiPathRuntimeResult]:
94
"callbacks": callbacks,
95
}
96
97
+ recursion_limit = os.environ.get("LANGCHAIN_RECURSION_LIMIT", None)
98
+ max_concurrency = os.environ.get("LANGCHAIN_MAX_CONCURRENCY", None)
99
+
100
+ if recursion_limit is not None:
101
+ graph_config["recursion_limit"] = int(recursion_limit)
102
+ if max_concurrency is not None:
103
+ graph_config["max_concurrency"] = int(max_concurrency)
104
105
# Stream the output at debug time
106
if self.context.job_id is None:
107
# Get final chunk while streaming
0 commit comments