mirror of
https://github.com/katanemo/plano.git
synced 2026-05-06 06:12:59 +02:00
add DigitalOcean to LlmProviderType + plano_config_schema (fixes WASM parse)
This commit is contained in:
parent
54d392ac0b
commit
cf8d297600
2 changed files with 5 additions and 0 deletions
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -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"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue