Looks like the SDK is ahead of the documentation. It is giving a warning that the Assistants API is deprecated but there’s no way to actually switch to something else yet. Even the OpenAi’s own examples still use .beta.threads and .beta.assistants
Keep using .beta.threads and .beta.assistants for now if you want the functionality of Assistants with persistent threads, tools, and code interpretation.