Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Deprecate the Assistants API (shut down by OpenAI) and remove it from the Demo

Abierto
#452 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
54/100
Tipo de issue
Refactorización
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
swift
Área
api, backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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:

  1. Mark all of the above @available(*, deprecated, message: ...), pointing to the Responses API (and Conversations API), and add a CHANGELOG entry.
  2. Update the README: remove the Assistants section or mark it as shut down.
  3. 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 in APIProvidedView and passed through ContentView, ChatView and MiscView
  • Assistant conversations in the Chat tab: the assistant conversation type in Conversation, the thread and run handling in ChatStore, and the special cases in ListView and DetailView (including the hardcoded gpt-4o-mini model)

Remove all of it. The Demo should also stop calling the deprecated package API, so it builds without deprecation warnings.

Lenguaje dominante
Swift
Estrellas
2.9k
Forks
519
Merge medio
4 d 9 h
PR fusionados (30 d)
13

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de MacPaw/OpenAI

Todos los issues de MacPaw/OpenAI

Issues similares

Más issues de Swift

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.