mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
update defaults.py to use digitalocean/ (post-#889 rename)
This commit is contained in:
parent
a1e8694839
commit
54d392ac0b
2 changed files with 12 additions and 13 deletions
|
|
@ -72,14 +72,13 @@ PROVIDER_DEFAULTS: list[ProviderDefault] = [
|
|||
base_url="https://api.mistral.ai/v1",
|
||||
model_pattern="mistral/*",
|
||||
),
|
||||
# DigitalOcean Gradient is OpenAI-compatible and `do` is not in the built-in
|
||||
# SUPPORTED_PROVIDERS list, so we must provide provider_interface explicitly.
|
||||
# DigitalOcean Gradient is now a first-class provider (see #889) — model
|
||||
# prefix `digitalocean/` routes to the built-in cluster, no base_url needed.
|
||||
ProviderDefault(
|
||||
name="do",
|
||||
name="digitalocean",
|
||||
env_var="DO_API_KEY",
|
||||
base_url="https://inference.do-ai.run/v1",
|
||||
model_pattern="do/*",
|
||||
provider_interface="openai",
|
||||
model_pattern="digitalocean/*",
|
||||
),
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue