mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
- Introduced LlmLog model to track AI API calls, including details like provider, tokens used, cost, and status. - Implemented AILogService to handle AI log creation and management, including billing checks and log updates. - Created LlmLogsTable component for displaying AI logs in the dashboard with filtering and modal views for request/response details. - Added new routes and pages for viewing AI logs in the context of incidents, alerts, and settings. - Updated PageMap and RouteMap to include new AI log views. - Enhanced error handling and logging for AI API interactions.
8 lines
142 B
TypeScript
8 lines
142 B
TypeScript
enum LlmLogStatus {
|
|
Success = "Success",
|
|
Error = "Error",
|
|
InsufficientBalance = "Insufficient Balance",
|
|
}
|
|
|
|
export default LlmLogStatus;
|