feat: add recursion_limit

This commit is contained in:
Henry Li
2026-01-18 13:16:27 +08:00
parent 6bf187c1c2
commit 8f0bd828d5

View File

@@ -90,6 +90,9 @@ export function useSubmitThread({
threadId: isNewThread ? threadId! : undefined,
streamSubgraphs: true,
streamResumable: true,
config: {
recursion_limit: 100,
},
context: {
...threadContext,
thread_id: threadId,