Files
anyllm-proxy/Cargo.toml
T
whit3rabbitandClaude Sonnet 4.6 7c5a568034 feat: add providers crate, row_to_backend_config, managed_backends SharedState field, startup loading
- Copy crates/providers (anyllm_providers) into worktree and add to workspace + proxy deps
- Implement row_to_backend_config() in admin/routes/managed_backends.rs: converts ManagedBackendRow + ProviderDef into BackendConfig by mapping ProviderProtocol to BackendKind and AuthKind to BackendAuth; Custom protocol returns None (unsupported)
- Add managed_backends field to SharedState (Arc<RwLock<HashMap<String, (ManagedBackendRow, BackendClient)>>>)
- Load managed backends from SQLite at startup in async_main: list_managed_backends -> get_provider -> row_to_backend_config -> BackendClient::from_backend_config
- Fix cost/mod.rs test SharedState initializer to include new field

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-08 13:11:27 -05:00

10 lines
266 B
TOML

[workspace]
members = ["crates/translator", "crates/client", "crates/batch_engine", "crates/proxy", "crates/providers"]
resolver = "2"
[workspace.package]
version = "0.2.0"
edition = "2021"
license = "MIT"
repository = "https://github.com/whit3rabbit/anyllm-proxy"