mirror of
https://github.com/andrewyng/openworker.git
synced 2026-09-03 04:49:26 +00:00
Merge pull request #101 from andrewyng/meta-muse-spark
Add Meta Model API provider with Muse Spark 1.1
This commit is contained in:
@@ -71,6 +71,15 @@ MATRIX: dict[str, ModelEntry] = {
|
||||
"gemini:gemini-2.5-pro": ModelEntry("Gemini 2.5 Pro · Google", _AGENTIC_VISION),
|
||||
"gemini:gemini-2.5-flash": ModelEntry("Gemini 2.5 Flash · Google", _AGENTIC_VISION),
|
||||
# -- direct OpenAI-compatible vendors ----------------------------------------
|
||||
# Muse Spark (Meta Model API, public preview 2026-07-09): multimodal + tools via
|
||||
# their OpenAI-compat surface. Vision yes; PDFs unverified over compat — falls
|
||||
# back via pdf_support.py like the other compat vendors.
|
||||
"meta:muse-spark-1.1": ModelEntry(
|
||||
"Muse Spark 1.1 · Meta",
|
||||
ModelCapabilities(
|
||||
tools=True, vision=True, parallel_tool_calls=True, streaming=True
|
||||
),
|
||||
),
|
||||
"zai:glm-5.2": ModelEntry("GLM-5.2 · Z AI"),
|
||||
"deepseek:deepseek-v4-flash": ModelEntry("DeepSeek V4 Flash · DeepSeek"),
|
||||
"deepseek:deepseek-v4-pro": ModelEntry("DeepSeek V4 Pro · DeepSeek"),
|
||||
|
||||
@@ -307,6 +307,14 @@ DESCRIPTORS: list[ProviderDescriptor] = [
|
||||
recommended_model="mistral-large-latest",
|
||||
env_key="MISTRAL_API_KEY",
|
||||
),
|
||||
_compat(
|
||||
"meta",
|
||||
"Meta (Muse Spark)",
|
||||
base_url="https://api.meta.ai/v1",
|
||||
recommended_model="muse-spark-1.1",
|
||||
env_key="META_API_KEY",
|
||||
endpoint_help="Prefilled with the Meta Model API endpoint (public preview, US-only as of 2026-07).",
|
||||
),
|
||||
# Resellers: many labs' models behind one key, using THEIR model namespaces (the curated
|
||||
# ids + display labels live in providers/matrix.py). TODO: add Groq and OpenRouter here
|
||||
# (+ their matrix rows) once the current provider surface is tested — deliberately
|
||||
|
||||
@@ -18,11 +18,13 @@ import mistral from "./logos/mistral.svg";
|
||||
import qwen from "./logos/qwen.svg";
|
||||
import minimax from "./logos/minimax.svg";
|
||||
import xai from "./logos/xai.svg";
|
||||
import meta from "./logos/meta.svg";
|
||||
|
||||
export const PROVIDER_LOGOS: Record<string, string> = {
|
||||
anthropic,
|
||||
openai,
|
||||
gemini,
|
||||
meta,
|
||||
ollama,
|
||||
fireworks,
|
||||
together,
|
||||
@@ -39,6 +41,7 @@ export const PROVIDER_ORDER = [
|
||||
"anthropic",
|
||||
"openai",
|
||||
"gemini",
|
||||
"meta",
|
||||
"ollama",
|
||||
"fireworks",
|
||||
"together",
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 5.9 KiB |
Reference in New Issue
Block a user