Bringing over this feature request from the python friends [#798](https://github.com/openai/openai-agents-python/issues/798) [#329](https://github.com/openai/openai-agents-python/issues/329)