mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
## Why Dynamic tool calls should remain independent while waiting for client responses, so one pending call does not block another from reaching the client. ## What changed Enable parallel execution in `DynamicToolHandler`, allowing code mode programs to issue concurrent dynamic tool calls with `Promise.all`. ## Testing Add a code mode regression test that waits for two dynamic tool requests before responding, resolves them in reverse order, and verifies that `Promise.all` preserves the expected result order. GitOrigin-RevId: c93c1fea720f76c772b0e3452ddc8c01fb1a08d8