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 - openai
- xiaomi - xiaomi
- gemini - gemini
- digitalocean
routing_preferences: routing_preferences:
type: array type: array
items: items:
@ -238,6 +239,7 @@ properties:
- openai - openai
- xiaomi - xiaomi
- gemini - gemini
- digitalocean
routing_preferences: routing_preferences:
type: array type: array
items: items:

View file

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