mirror of
https://github.com/katanemo/plano.git
synced 2026-06-23 15:38:07 +02:00
Merge aaa9546890 into 554a3d1f6a
This commit is contained in:
commit
3b68edc813
36 changed files with 3784 additions and 5 deletions
|
|
@ -400,6 +400,10 @@ pub enum LlmProviderType {
|
|||
Vercel,
|
||||
#[serde(rename = "openrouter")]
|
||||
OpenRouter,
|
||||
/// Claude Code CLI invoked as a local subprocess. The bridge runs inside
|
||||
/// brightstaff (`CLAUDE_CLI_LISTEN_ADDR`) and exposes Anthropic Messages.
|
||||
#[serde(rename = "claude-cli")]
|
||||
ClaudeCli,
|
||||
}
|
||||
|
||||
impl Display for LlmProviderType {
|
||||
|
|
@ -425,6 +429,7 @@ impl Display for LlmProviderType {
|
|||
LlmProviderType::DigitalOcean => write!(f, "digitalocean"),
|
||||
LlmProviderType::Vercel => write!(f, "vercel"),
|
||||
LlmProviderType::OpenRouter => write!(f, "openrouter"),
|
||||
LlmProviderType::ClaudeCli => write!(f, "claude-cli"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -772,6 +777,7 @@ mod test {
|
|||
for (yaml_value, expected) in [
|
||||
("vercel", LlmProviderType::Vercel),
|
||||
("openrouter", LlmProviderType::OpenRouter),
|
||||
("claude-cli", LlmProviderType::ClaudeCli),
|
||||
] {
|
||||
let parsed: LlmProviderType =
|
||||
serde_yaml::from_str(yaml_value).expect("variant should deserialize");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue