Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Audio models cleanup after #397

Aperta
#458 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
swift
Ambito
api, documentation

Direzione di ricerca

Start with Model.allModels(satisfying:) and the gpt_4o_audio_preview deprecation annotation, then check the OpenAI deprecations page for gpt_4o_mini_audio_preview and the 7 May 2026 date. Update the modalities doc comment in Sources/OpenAI/Public/Models/ChatQuery.swift (~line 161) to name gpt-audio-1.5, and move the audio documentation link in the README. Done when all four checklist items are resolved and the package still builds.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Follow-ups noticed while reviewing #397 (audio constants + README section). None block that PR; collected here so the contributor isn't asked for more changes.

  • gpt_4o_mini_audio_preview: still in Model.allModels(satisfying:) and not deprecated, while gpt_4o_audio_preview now is. Check the OpenAI deprecations page; if it was shut down as well, give it the same @available(*, deprecated, ...) treatment and drop it from allModels.
  • Verify the shutdown date used in the gpt_4o_audio_preview deprecation message (7 May 2026) against the deprecations page. It was taken from the PR review and not independently checked.
  • ChatQuery.modalities doc comment (Sources/OpenAI/Public/Models/ChatQuery.swift, ~line 161) still names gpt-4o-audio-preview; point it at gpt-audio-1.5.
  • README link placement: the "Review Audio Documentation" line now sits at the end of the "Audio input and output with Chat Completions" section, but links to the audio endpoints reference. Move it above that section, or add a link to the audio guide for the chat-completions part.
Lingua principale
Swift
Stelle
2.9k
Fork
519
Merge medio
4g 9h
PR unite (30g)
13

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MacPaw/OpenAI

Tutte le issue di MacPaw/OpenAI

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.