kaxil opened a new pull request, #77570: URL: https://github.com/apache/airflow/pull/77570
Removes the 16 `OpenAIHook` methods that wrap `beta.assistants` and `beta.threads` (`create_assistant`, `create_thread`, `create_run_and_poll` and the rest). OpenAI [shut down the Assistants API on 2026-08-26](https://developers.openai.com/api/docs/assistants/migration), so since then these methods could only emit a deprecation warning and then fail with an API error. They have been deprecated since provider 1.8.0 (#69071). This is a breaking change: code that still references one of the methods now gets `AttributeError` instead of the API error. The changelog note names the replacement for each removed method. Threads map onto the existing `create_conversation` / `update_conversation` / `delete_conversation`, and runs onto `create_response` / `get_response`. Three have no equivalent in the Responses and Conversations APIs (`modify_message`, `get_runs`, `modify_run`), and the note says so. `upload_file` keeps accepting `purpose="assistants"`, because file search and vector stores still use that purpose. Only its docstring changes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
