Deprecate the Assistants API (shut down by OpenAI) and remove it from the Demo
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 54/100
Direzione di ricerca
Read CONTRIBUTING.md and the Assistants API declarations under Sources/OpenAI/Public/Models and OpenAIProtocol/OpenAIAsync/OpenAICombine, then inspect the Demo entry points named in the issue: MiscView, AssistantsView, AssistantStore, ChatStore, Conversation, ListView, and DetailView. Check the README and changelog conventions as well. Done means the package API is deprecated with guidance to Responses/Conversations, the README reflects shutdown, and the Demo no longer contains Assistants UI or calls that API and builds without deprecation warnings.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
OpenAI shut down the Assistants API on August 26, 2026 (announced August 26, 2025). The recommended replacement is the Responses API together with the Conversations API. See https://developers.openai.com/api/docs/deprecations.
The package and the Demo app both still expose it, so every Assistants request now fails.
Package
Public API that talks to the Assistants, Threads and Runs endpoints:
- Methods on
OpenAIProtocol/OpenAIAsync/OpenAICombine:assistants,assistantCreate,assistantModify,threads,threadRun,threadsAddMessage,threadsMessages,runs,runRetrieve,runRetrieveSteps,runSubmitToolOutputs - Types in
Sources/OpenAI/Public/Models:AssistantsQuery,AssistantResult,AssistantsResult,AssistantsTool,ThreadsQuery,ThreadsResult,ThreadRunQuery,ThreadAddMessagesResult,ThreadsMessagesResult,RunsQuery,RunResult,RunRetrieveQuery,RunRetrieveStepsResult,RunToolOutputsQuery - README: the Assistants (Beta) section
Under the API stability policy in CONTRIBUTING.md, public API is deprecated before it is removed. Proposed steps:
- Mark all of the above
@available(*, deprecated, message: ...), pointing to the Responses API (and Conversations API), and add a CHANGELOG entry. - Update the README: remove the Assistants section or mark it as shut down.
- Remove the deprecated API in a later major release.
Demo
The Demo still has a working Assistants UI:
- Misc tab → "Assistants" link (
MiscView) →AssistantsView,AssistantsListView,AssistantModalContentView AssistantStore, created inAPIProvidedViewand passed throughContentView,ChatViewandMiscView- Assistant conversations in the Chat tab: the assistant conversation type in
Conversation, the thread and run handling inChatStore, and the special cases inListViewandDetailView(including the hardcodedgpt-4o-minimodel)
Remove all of it. The Demo should also stop calling the deprecated package API, so it builds without deprecation warnings.
- Lingua principale
- Swift
- Stelle
- 2.9k
- Fork
- 519
- Merge medio
- 4g 9h
- PR unite (30g)
- 13
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di MacPaw/OpenAI
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 3 giorni
-
Enable batch promptsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
MacPaw/OpenAI#73 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 3 giorni
-
Check the HTTP status code for JSON responsesForse già presa @mvanhorn l’ha presa oggi. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
MacPaw/OpenAI#469 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
I maintainer di solito rispondono entro 3 giorni
-
Add Batch API supportAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di MacPaw/OpenAI
Issue simili
-
builtin-port enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
cmlarsen/writemorebetter#235 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
callstack/agent-device#3627 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
maziyarpanahi/openmed#4207 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 60/100
meshtastic/Meshtastic-Apple#2603 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno