add DigitalOcean to LlmProviderType + plano_config_schema (fixes WASM parse)

This commit is contained in:
Adil Hafeez 2026-04-17 12:47:00 -07:00
parent 54d392ac0b
commit cf8d297600
2 changed files with 5 additions and 0 deletions

View file

@ -190,6 +190,7 @@ properties:
- openai
- xiaomi
- gemini
- digitalocean
routing_preferences:
type: array
items:
@ -238,6 +239,7 @@ properties:
- openai
- xiaomi
- gemini
- digitalocean
routing_preferences:
type: array
items:

View file

@ -391,6 +391,8 @@ pub enum LlmProviderType {
AmazonBedrock,
#[serde(rename = "plano")]
Plano,
#[serde(rename = "digitalocean")]
DigitalOcean,
}
impl Display for LlmProviderType {
@ -412,6 +414,7 @@ impl Display for LlmProviderType {
LlmProviderType::Qwen => write!(f, "qwen"),
LlmProviderType::AmazonBedrock => write!(f, "amazon_bedrock"),
LlmProviderType::Plano => write!(f, "plano"),
LlmProviderType::DigitalOcean => write!(f, "digitalocean"),
}
}
}