Stateless over stateful
Dropping the thread-and-run polling loop removed a whole class of “stuck run” states, and the code that existed only to manage them.
Client work
Led the upgrade of a bid management platform’s AI services from OpenAI’s Assistants API to the Responses API.
The platform’s AI features were built on the Assistants API, which means managing threads, runs and polling as server-side state. OpenAI has deprecated the Assistants API in favour of the Responses API, so the features had to move to stay supported.
Lead: planned the upgrade, set the approach for the team, reviewed the work and owned the release.
Dropping the thread-and-run polling loop removed a whole class of “stuck run” states, and the code that existed only to manage them.
Upgrading while the old API still worked meant the team could test calmly and ship it as a normal release, instead of a rushed fix when the API is switched off.