5 Commits
Author SHA1 Message Date
wangweiandCopilot 5d132981ad feat: add PostgresModelUsageStore and ModelUsageTracker.seed()
- Add seed() method to ModelUsageTracker for bulk-loading persisted entries at startup
- Create PostgresModelUsageStore for persistence of model usage counters to Postgres
- Store only current cumulative snapshots (no historical time-series)
- Use standard CREATE TABLE IF NOT EXISTS idiom matching other Postgres stores
- Add comprehensive mocked unit tests for both components

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-23 14:18:22 +08:00
wangwei 52e67b0e7b Add LLM token 2026-07-02 22:03:39 +08:00
ash66 fec22a3a2c Fix centered content layout widths 2026-05-26 12:34:12 +08:00
wangwei b065d55c86 fix 文档管理模块 & 法规对话模块 2026-05-20 23:34:08 +08:00
ash66 3f69cad404 Fix SSE route dependency and align architecture docs 2026-05-18 16:32:42 +08:00