Skip to content

Add parallel tool execution with concurrency controls#5

Open
ryaneggz wants to merge 2 commits into
masterfrom
codex/plan-implementation-for-parallel-tool-calls
Open

Add parallel tool execution with concurrency controls#5
ryaneggz wants to merge 2 commits into
masterfrom
codex/plan-implementation-for-parallel-tool-calls

Conversation

@ryaneggz
Copy link
Copy Markdown
Contributor

@ryaneggz ryaneggz commented Oct 7, 2025

Summary

  • refactor tool execution to support parallel batches with configurable concurrency, scheduler hooks, result streaming, and sequential fallback warnings
  • extend ToolIntent metadata and update documentation to describe new options and return telemetry from executeTools
  • add unit tests verifying concurrency limits, deterministic ordering, error aggregation, and onResult callback behaviour

Testing

  • npm run build
  • npx tsx --test --env-file=.env.test test/execute-tools.test.ts
  • npm test (fails: missing OPENAI_API_KEY)

https://chatgpt.com/codex/tasks/task_e_68e45e87caf4832881b70053680d71ce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant