Files
anyllm-proxy/crates
whit3rabbitandClaude Opus 4.8 c5609db0c7 fix(admin-ui): correct keys unwrap + request/audit pagination
useKeys treated the {keys:[...]} response as a bare array, so the Keys
tab threw at runtime (.find/.filter on a plain object). Unwrap .keys to
match the VirtualKey[] consumers expect (mirrors useBackends).

useRequests and useAudit sent page/page_size, but the backends only read
limit/offset, so every page returned the first page. Translate at the
hook boundary (limit=page_size, offset=(page-1)*page_size) and align the
RequestsResponse/AuditResponse types with the actual backend shape
(limit/offset/has_more; drop the never-sent total/page/page_size).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 16:25:45 -05:00
..
2026-06-18 21:12:49 -05:00
2026-06-18 21:12:49 -05:00