Files
litellm-android/PROGRESS.md
T
2026-11-19 11:23:59 +01:00

5.1 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 spend chart, and recent requests where the proxy permits them.
  • Added searchable model inventory and model detail views. The app falls back to /v1/models if /model/info is 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:assembleDebug and installed/launched it on emulator-5554 through 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.

Needs work or verification

  • Connect to a real LiteLLM deployment and verify the response shapes, permissions, and create flows across the deployment's actual LiteLLM version. No live proxy URL or credential has been provided, so the app has only been integration-tested against the local fixture.
  • Confirm the overview's /global/spend and /global/activity metrics against real admin and restricted keys. 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 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.
  • Produce a signed release build and document distribution. The existing APK is a debug build only.

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 packaging, release signing, crash reporting, and production telemetry.

Next milestone

  1. Test against a real proxy with a suitably scoped key and record its LiteLLM version and any endpoint differences.
  2. Fix the API and permission issues uncovered by that test.
  3. Add automated regression tests for those real response shapes, then build a signed release candidate.

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.