Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Audio models cleanup after #397

Đang mở
#458 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
swift
Lĩnh vực
api, documentation

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Swift
Star
2.9k
Fork
519
Merge trung bình
4 ngày 9 giờ
Pull request đã merge (30 ngày)
13

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MacPaw/OpenAI

Tất cả issue của MacPaw/OpenAI

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.