b4fbd6fe9f
Deploy Site / deploy-vercel (push) Has been skipped
Deploy Site / deploy-docs (push) Has been skipped
Build Skills Index / build-index (push) Has been skipped
CI / Deny unrelated histories (push) Has been skipped
CI / Detect affected areas (push) Successful in 27m35s
CI / OSV scan (push) Failing after 4s
CI / Build&Test Docker image (push) Successful in 9s
CI / Supply-chain scan (push) Has been skipped
CI / Lint Docker scripts (push) Failing after 5m13s
CI / Check contributors (push) Failing after 12m8s
CI / Docs Site (push) Failing after 12m8s
CI / TypeScript (push) Failing after 12m8s
CI / Python lints (push) Failing after 12m9s
CI / Python tests (push) Failing after 12m9s
CI / Check uv.lock (push) Failing after 23m22s
CI / CI timing report (push) Has been cancelled
Build Skills Index / trigger-deploy (push) Has been cancelled
CI / All required checks pass (push) Has been cancelled
37 lines
1.3 KiB
Python
37 lines
1.3 KiB
Python
"""Fireworks AI provider profile.
|
|
|
|
Fireworks AI serves fast, production-grade inference for open and proprietary
|
|
models through an OpenAI-compatible chat-completions endpoint.
|
|
|
|
Address models directly by their catalog ID, e.g.
|
|
``accounts/fireworks/models/kimi-k2p6`` or ``accounts/fireworks/models/glm-5p2``.
|
|
Model IDs here track the canonical Fireworks catalog (fw-ai/fireconnect
|
|
``setup-cli``).
|
|
"""
|
|
|
|
from providers import register_provider
|
|
from providers.base import ProviderProfile
|
|
|
|
|
|
fireworks = ProviderProfile(
|
|
name="fireworks",
|
|
aliases=("fireworks-ai", "fw"),
|
|
display_name="Fireworks AI",
|
|
description="Fireworks AI — OpenAI-compatible direct model API",
|
|
signup_url="https://app.fireworks.ai/settings/users/api-keys",
|
|
env_vars=("FIREWORKS_API_KEY",),
|
|
base_url="https://api.fireworks.ai/inference/v1",
|
|
auth_type="api_key",
|
|
# Auxiliary model for cheap tasks (compaction, title generation, vision).
|
|
# A standard pay-as-you-go catalog ``/models/`` ID.
|
|
default_aux_model="accounts/fireworks/models/glm-5p2",
|
|
# Curated safety net shown in the picker when the live catalog fetch fails.
|
|
fallback_models=(
|
|
"accounts/fireworks/models/kimi-k2p6",
|
|
"accounts/fireworks/models/glm-5p2",
|
|
"accounts/fireworks/models/kimi-k2p7-code",
|
|
),
|
|
)
|
|
|
|
register_provider(fireworks)
|