This commit is contained in:
Alvin-Zilverstand committed 2026-11-19 11:43:36 +01:00
1 parent 0d3e076115
commit 8e27e174a7
15 files changed
+161 -26

No files matched your search

+11 -9
View File
@@ -11,7 +11,7 @@ This file tracks the Android app in this repository. A checked item means the fe
- [x] Added a connection screen with proxy URL validation, bearer-key authentication, connection test, timeouts, and readable network/authentication errors.
- [x] Encrypted the saved API key with Android Keystore, disabled app backup, and added disconnect/key removal.
- [x] Built bottom navigation and settings, with loading, empty, retry, and section-specific error views.
- [x] Added an overview showing total spend, request counts, a seven-day spend chart, and recent requests where the proxy permits them.
- [x] Added an overview showing total spend, request counts, a seven-day request chart, and recent requests where the proxy permits them.
- [x] Added searchable model inventory and model detail views. The app falls back to `/v1/models` if `/model/info` is unavailable or forbidden.
- [x] Added key inventory, details, and page navigation. Key search filters the currently loaded page.
- [x] Added team inventory and details.
@@ -20,17 +20,19 @@ This file tracks the Android app in this repository. A checked item means the fe
- [x] Added a local LiteLLM-shaped test proxy at [tools/mock_proxy.py](tools/mock_proxy.py).
- [x] Built a debug APK with `./gradlew.bat :app:assembleDebug` and installed/launched it on `emulator-5554` through adb.
- [x] 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.
- [x] Connected the emulator app to the user's LiteLLM v1.110.1 server using the ignored `connection.txt` file. Verified that overview, models, keys, and logs render live data and that `/team/list` returns an empty list without an app error. The live server requires dates on `/global/activity`; the app now supplies them. `/global/spend/report` is Enterprise-only on this server, so the chart now uses daily request activity instead.
- [x] Adjusted the model provider parser for `litellm_params.custom_llm_provider` and increased precision for small request costs after inspecting live responses.
- [x] 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](README.md).
## 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 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 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.
- [ ] 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.
- [ ] Produce a signed release build and document distribution. The existing APK is a debug build only.
## Not started
@@ -40,12 +42,12 @@ This file tracks the Android app in this repository. A checked item means the fe
- [ ] 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.
- [ ] 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
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.
1. Add automated regression tests using the response shapes observed on LiteLLM v1.110.1.
2. Verify restricted-key behavior and live creation with disposable objects if those flows are needed for release.
3. 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.