Meta Model API (Muse Spark, Muse Wonder) as an AI provider
Maintainer thường phản hồi trong vòng 1 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
- 66/100
Hướng nghiên cứu
Start in apple/TablePro/Models/AI/AIProviderPreset.swift and read the existing Requesty preset and the model fetching and chat streaming paths it uses. Check the Meta API details in the issue, especially the default model and filtering fetched models to chat models. Done when the Meta preset works with authentication, model selection, reasoning, tool calls, and streaming as described.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
Meta's Muse models (Muse Spark, Muse Wonder) are served by the Meta Model API. Using them today means adding a Custom provider and typing the endpoint and model ID by hand.
Proposed solution
Add Meta as an AIProviderPreset (apple/TablePro/Models/AI/AIProviderPreset.swift), next to Requesty. No new AIProviderType case.
API facts from https://dev.meta.ai/docs/:
- Base URL
https://api.meta.ai/v1, OpenAI-compatiblePOST /v1/chat/completions. Preset endpoint ishttps://api.meta.ai. - Auth:
Authorization: Bearer <key>. Keys from https://dev.meta.ai/api-keys/. - Bad, missing or revoked key returns 401 (
invalid_api_key), sorejectsBadKeyWithForbidden: false. 403 means the key lacks access to a model. GET /v1/modelslists models, newest first.- Chat models:
muse-spark-1.3(recommended),muse-spark-1.2,muse-spark-1.1,muse-wonder-1.0(preview). 1,048,576 token context. -contributorvariants are cheaper but Meta may train on the content.reasoning_effortacceptsminimal,low,medium,high,xhigh,max.nonereturns 400. OurReasoningEffortwire values all fit.- Tool calling and SSE streaming are supported.
- Public preview, availability varies by country.
To check while building:
- Default model is
muse-spark-1.3, not the first fetched model. - Fetched list includes non-chat models (
muse-image-1.0,muse-voice-transcribe-1.0,sam-3.1). Keep them out of the chat model picker. - Server accepts
stream_options.include_usage. - Streamed tool-call chunks parse with the current OpenAI-compatible decoder.
Alternatives considered
Custom provider with https://api.meta.ai works if the user knows the model ID. OpenRouter also serves Muse Spark.
- Ngôn ngữ chính
- Swift
- Star
- 6.2k
- Fork
- 412
- Merge trung bình
- 3 giờ 56 phút
- Pull request đã merge (30 ngày)
- 669
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TableProApp/TablePro
-
Linux: Remember Password fails silently when there is no default keyringCó thể đã có người làm @datlechin đã nhận hôm nay. Đang mởbug platform-linux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
TableProApp/TablePro#4098 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug platform-linux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
TableProApp/TablePro#4101 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug platform-linux
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
TableProApp/TablePro#4099 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement platform-macos
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
TableProApp/TablePro#4071 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
TableProApp/TablePro#4037 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của TableProApp/TablePro
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
OneBusAway/vehicle-positions#260 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
eliasstravik/herdr-projects#789 · 1 bình luận ·
-
follow-up needs-triage S3: minor
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
manaflow-ai/cmux#38032 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
arkavo-org/ArkavoKit#70 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
vorssaint/vorssaint-utils#3933 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày