Reuse CoreToolScheduler for nonInteractiveToolExecutor (#6714)

This commit is contained in:
Tommaso Sciortino
2025-08-21 16:49:12 -07:00
committed by GitHub
parent 29699274bb
commit 15c62bade3
6 changed files with 93 additions and 258 deletions

View File

@@ -134,7 +134,6 @@ export function useReactToolScheduler(
const scheduler = useMemo(
() =>
new CoreToolScheduler({
toolRegistry: config.getToolRegistry(),
outputUpdateHandler,
onAllToolCallsComplete: allToolCallsCompleteHandler,
onToolCallsUpdate: toolCallsUpdateHandler,