mirror of
https://github.com/whit3rabbit/anyllm-proxy.git
synced 2026-09-21 16:00:49 +00:00
Large admin-ui refactor (Performative component system, sidebar nav,
provider/route tabs) plus backend module restructuring.
Admin UI contract fixes (this session):
- Fix Models page crash: useBackends unwraps {backends:[...]}; align
ModelEntry to {model_name, deployments} and ModelsResponse.strategy;
fix add-model body to {model_name, actual_model, backend_name}.
- Fix Backends/Providers health rendering: source per-backend status and
latency from the uptime endpoint (health_checks); narrow Backend type to
the real get_backends shape.
- Route + sidebar-link the previously-unrouted Backends tab.
Verified: cargo test (exit 0), clippy -D warnings (exit 0), fmt --check,
admin-ui tsc + vite build all green.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
9 lines
468 B
Markdown
9 lines
468 B
Markdown
# Tasks
|
|
|
|
- [x] Refactor `crates/translator/src/openai/chat_completions.rs` by extracting tests
|
|
- [x] Refactor `crates/translator/src/mapping/reverse_message_map.rs` by extracting tests
|
|
- [x] Refactor `crates/proxy/src/config/simple.rs` by extracting tests
|
|
- [x] Refactor `crates/proxy/src/config/litellm.rs` by extracting tests
|
|
- [x] Refactor `crates/proxy/src/main_helpers/async_main.rs` by decomposing `async_main`
|
|
- [x] Run verification tests and formatting checks
|