Files
agent-framework/python/packages
T
fiow123 94cef85c71 Python: Fixing the OpenAI Responses Client to be able to persist and interact with server-side threads (#818)
* Fix options_dict handling in response client

* Update python/packages/main/agent_framework/openai/_responses_client.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update condition for storing chat options

Fixes issue where, when using server-side threads, AF would pass back the function call message due to store being in chat_options in kwargs, not at the kwargs level. Means the appending of only the tool execution result never happens.

Resulted in a "tool output not found error" as we replied with the call not the result first.

* Refactor chat_options access for clarity

* Refactor store option assignment in responses client

* Small fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>
94cef85c71 ยท 2025-09-22 01:58:50 +00:00
History
..