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>
468 B
468 B
Tasks
- Refactor
crates/translator/src/openai/chat_completions.rsby extracting tests - Refactor
crates/translator/src/mapping/reverse_message_map.rsby extracting tests - Refactor
crates/proxy/src/config/simple.rsby extracting tests - Refactor
crates/proxy/src/config/litellm.rsby extracting tests - Refactor
crates/proxy/src/main_helpers/async_main.rsby decomposingasync_main - Run verification tests and formatting checks