logikonline
26793bf898
feat(ai): add ai operation logging and org settings models
...
Add database models and infrastructure for AI operation tracking and organization-level AI configuration.
OperationLog model tracks all AI operations for auditing, including:
- Operation type, tier, and trigger event
- Token usage (input/output)
- Status tracking (pending, success, failed, escalated)
- Performance metrics (duration)
- Rate limiting support via CountRecentOperations
OrgAISettings model stores per-organization AI configuration:
- Provider and model selection
- Encrypted API key storage
- Rate limits (max operations per hour)
- Allowed operations whitelist
- Agent mode permissions
Also adds AI unit type to repository units for enabling/disabling AI features per repo.
2026-02-11 23:46:57 -05:00
..
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-19 19:01:48 -05:00
2025-01-09 09:21:47 +08:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-22 18:59:06 -05:00
2025-04-09 16:34:38 +00:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2025-06-27 07:59:55 +02:00
2024-11-11 04:07:54 +08:00
2026-01-17 17:53:59 -05:00
2026-01-22 18:59:06 -05:00
2026-01-17 17:53:59 -05:00
2026-02-02 15:15:56 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-22 18:59:06 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2025-06-18 01:48:09 +00:00
2025-06-27 23:12:25 +08:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-12 00:37:16 +00:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-31 13:37:07 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-13 06:24:19 +00:00
2026-01-17 17:53:59 -05:00
2026-01-21 10:35:56 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-22 18:59:06 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2025-02-21 00:05:40 +08:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-02-11 23:46:57 -05:00
2022-12-30 23:31:00 +08:00
2026-01-31 10:03:53 -05:00
2026-01-17 17:53:59 -05:00
2026-01-22 18:59:06 -05:00
2026-02-02 15:15:56 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2025-01-21 18:57:07 +00:00
2026-01-17 17:53:59 -05:00
2026-01-31 13:37:07 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2026-01-17 17:53:59 -05:00
2025-09-13 10:34:43 -04:00
2026-01-17 17:53:59 -05:00
2026-01-22 18:59:06 -05:00
2025-01-09 09:21:47 +08:00
2026-01-22 18:59:06 -05:00
2026-01-17 17:53:59 -05:00
2026-01-18 00:33:39 -05:00
2026-01-17 17:53:59 -05:00
2025-06-12 03:59:33 +00:00