feat(agent-loop): run safe tool calls in parallel
This commit is contained in:
15
packages/core/agent-loop/src/constants.ts
Normal file
15
packages/core/agent-loop/src/constants.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Loop-level tunable defaults shared between the plugin entry (`index.ts`) and
|
||||
* the tool-call scheduler (`tool-calls.ts`). Kept in a leaf module so importing
|
||||
* a default never pulls in the service class or the scheduler.
|
||||
*
|
||||
* @module dsh-agent-loop/constants
|
||||
*/
|
||||
|
||||
/**
|
||||
* Default cap on simultaneously in-flight tool calls within one assistant step,
|
||||
* when {@link AgentOptions.maxParallelToolCalls} is unset. Matches the
|
||||
* rolling-pool size Claude Code uses; a group larger than the cap is not
|
||||
* truncated — the cap limits concurrency, not the group.
|
||||
*/
|
||||
export const DEFAULT_MAX_PARALLEL_TOOL_CALLS = 10
|
||||
Reference in New Issue
Block a user