mirror of
https://github.com/katanemo/plano.git
synced 2026-06-08 14:55:14 +02:00
The Python CLI (#902) and the JSON schema both allow `vercel` and `openrouter` as `provider_interface`, and `hermesllm::ProviderId` knows how to dispatch them — but `crates/common::LlmProviderType` was never extended to deserialize them. As a result, `planoai up` with no user config (which synthesizes both providers via `cli/planoai/defaults.py`) caused brightstaff to crash on startup with: unknown variant `vercel`, expected one of `anthropic`, ..., `digitalocean` Add the missing enum variants and Display arms, plus a regression test that asserts both round-trip through serde and resolve through `to_provider_id()` (the exact path that previously panicked at parse). |
||
|---|---|---|
| .. | ||
| api | ||
| traces | ||
| configuration.rs | ||
| consts.rs | ||
| errors.rs | ||
| http.rs | ||
| lib.rs | ||
| llm_providers.rs | ||
| path.rs | ||
| pii.rs | ||
| ratelimit.rs | ||
| routing.rs | ||
| stats.rs | ||
| tokenizer.rs | ||
| tracing.rs | ||
| utils.rs | ||