openai-node icon indicating copy to clipboard operation
openai-node copied to clipboard

Run tool calls in parallel

Open jmoseley opened this issue 1 year ago • 2 comments

  • [x] I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

Run tool calls in parallel, since they have no dependency on one another.

Additional context & links

https://github.com/openai/openai-node/issues/1131

jmoseley avatar Oct 15 '24 17:10 jmoseley

https://github.com/openai/openai-node/issues/1131

danfhernandez avatar Oct 15 '24 18:10 danfhernandez

Parallelism maybe could be controlled by an option, since in some systems it could still be desirable to run tools exclusively, in parallel. (Though in those cases one can always throw in a mutex to gate function calls.)

atesgoral avatar Oct 29 '24 14:10 atesgoral