5.9 KiB
5.9 KiB
LiteLLM Android dashboard progress
Last reviewed: 19 November 2026
This file tracks the Android app in this repository. A checked item means the feature exists in source; the verification notes say how far it has been tested. The current build is a functional core dashboard, not a complete mobile replacement for every page in LiteLLM's web admin UI.
Completed
- Researched LiteLLM proxy management and spend endpoints and Android Compose setup; recorded the original scope and acceptance checks in PLAN.md.
- Created a native Kotlin/Jetpack Compose Android project with Gradle wrapper, Android manifest, and build instructions in README.md.
- Added a connection screen with proxy URL validation, bearer-key authentication, connection test, timeouts, and readable network/authentication errors.
- Encrypted the saved API key with Android Keystore, disabled app backup, and added disconnect/key removal.
- Built bottom navigation and settings, with loading, empty, retry, and section-specific error views.
- Added an overview showing total spend, request counts, a seven-day request chart, and recent requests where the proxy permits them.
- Added searchable model inventory and model detail views. The app falls back to
/v1/modelsif/model/infois unavailable or forbidden. - Added key inventory, details, and page navigation. Key search filters the currently loaded page.
- Added team inventory and details.
- Added a 30-day spend-log list, details, and page navigation. Log search filters the currently loaded page.
- Added authorized creation forms for models, virtual keys, and teams. A generated virtual key is shown once and is not persisted by the app.
- Added a local LiteLLM-shaped test proxy at tools/mock_proxy.py.
- Built a debug APK with
./gradlew.bat :app:assembleDebugand installed/launched it onemulator-5554through adb. - Exercised connection, overview, inventories, log pagination, saved-connection restart, and all three creation flows against the local test proxy. Fixed a short-list navigation layout issue found during emulator review. The final APK launched after rebuilding.
- Connected the emulator app to the user's LiteLLM v1.110.1 server using the ignored
connection.txtfile. Verified that overview, models, keys, and logs render live data and that/team/listreturns an empty list without an app error. The live server requires dates on/global/activity; the app now supplies them./global/spend/reportis Enterprise-only on this server, so the chart now uses daily request activity instead. - Adjusted the model provider parser for
litellm_params.custom_llm_providerand increased precision for small request costs after inspecting live responses. - Built signed, shrunk release APK and AAB with a new local upload key stored outside the repository. Verified the APK signature, installed it on
emulator-5554, and confirmed it connects to the live LiteLLM server and renders overview data. Documented repeatable release builds and key backup in README.md.
Needs work or verification
- Verify model, key, and team creation against a live LiteLLM deployment when a disposable test object and cleanup path are available. The current live pass was read-only; creation was verified only against the local fixture.
- Confirm overview behavior with a restricted key. Forbidden metrics currently appear as unavailable values; make their reason explicit on the overview.
- Verify connection failure paths on-device with invalid keys, forbidden endpoints, expired credentials, TLS/certificate failures, and a proxy mounted under a URL path. These states have code paths but were not all exercised on the emulator.
- Add automated tests for URL validation, API response parsing, authentication/error mapping, and creation payloads. The repository currently has no automated test suite or CI workflow.
- Improve large-installation browsing: server-side key search, more reliable total/page handling across LiteLLM versions, and pagination or filtering for teams and models where needed. Current key and log search works only within a page.
- Improve the daily request chart with date/value labels and clarify the time range of overview totals. The current bar chart communicates magnitude but has no axis or per-day labels.
- Review accessibility on a range of screen sizes, font scales, keyboard navigation, and screen-reader settings. Standard Compose labels are present, but a full accessibility pass has not been done.
Not started
- Edit, block/unblock, rotate, or revoke virtual keys; edit or delete models and teams. These management operations are not in the current UI.
- User, organization, project, budget, tag, guardrail, credential, and access-group management.
- Usage breakdowns and filters by model, provider, team, user, key, or date range; export/report workflows.
- Advanced log filters, server-side search, full request traces, and prompt/response inspection where LiteLLM has been configured to store them.
- Alerts, push notifications, widgets, or background synchronization.
- Multiple saved proxy profiles and account switching.
- Play Store listing and submission, crash reporting, and production telemetry. A signed AAB exists, but it has not been uploaded or reviewed by a store.
Next milestone
- Add automated regression tests using the response shapes observed on LiteLLM v1.110.1.
- Verify restricted-key behavior and live creation with disposable objects if those flows are needed for release.
- Complete compatibility and accessibility checks before a public store release, then submit the signed AAB and preserve the signing-key backup.
Update this file whenever a feature is completed or a gap is discovered. Move an item to Completed only after implementation; record the verification level separately when it has not been exercised against a live deployment.