Skip to content

feat: add request logs viewer and API view modal#122

Open
bjfwan wants to merge 1 commit into
Quorinex:mainfrom
bjfwan:feat/request-logs-viewer
Open

feat: add request logs viewer and API view modal#122
bjfwan wants to merge 1 commit into
Quorinex:mainfrom
bjfwan:feat/request-logs-viewer

Conversation

@bjfwan

@bjfwan bjfwan commented Jun 9, 2026

Copy link
Copy Markdown

Summary

  • Add an in-memory request log buffer for Claude, OpenAI Chat Completions, and Responses requests.
  • Expose admin endpoints to fetch and clear request logs.
  • Add a Logs tab with filtering, auto-refresh, localized labels, and privacy-aware account display.
  • Add API tab view modals for available models and service statistics, including current version display.

Testing

  • node --check web\app.js
  • git diff --check origin/main...HEAD

- Request logs: record all requests (success and failure) into a 500-entry ring buffer with endpoint, model, account, status, tokens, credits, duration and error classification; expose via GET/DELETE /admin/api/logs and a dedicated Logs tab with filtering and auto-refresh.- API view modal: view available models list and service stats in a modal from the API tab.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant