MetaProvider (providers/meta.py)

quackd · quackd/agent/providers/meta.py · python · Apache-2.0
ai

Meta as the duck's brain, over the Meta Model API. Not Llama. Meta retired the hosted Llama API in July 2026 and what stands at `https://api.meta.ai/v1` now serves Muse Spark, drop-in compatible with the OpenAI SDK. The catalogue carries the LLM names, including the contributor-t

# Source: https://github.com/rokbenko/quackd | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
"""Meta as the duck's brain, over the Meta Model API.

Not Llama. Meta retired the hosted Llama API in July 2026 and what stands at
`https://api.meta.ai/v1` now serves Muse Spark, drop-in compatible with the OpenAI SDK. The
catalogue carries the LLM names, including the contributor-tier ones, whose labels say plainly
that the discount is paid for by letting Meta train on what you send.

`tool_choice` is left at `auto`, the only value Meta's tool-calling page accepts (`none`,
`required` and a named choice each return a 400), so the LLM is allowed a call rather than
made to make one. `paralle

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key