- Refactored AI gateway to utilize new cost management structures for usage tracking. - Replaced deprecated token extraction methods with a unified cost parsing approach. - Enhanced usage fallback mechanisms and introduced detailed usage metrics in responses. - Added new metering functionality to record AI usage and costs effectively. - Updated tests to reflect changes in usage parsing and cost calculations. - Introduced new API endpoints for retrieving AI usage summaries and pricing information. |
||
|---|---|---|
| .. | ||
| ai_usage_handlers.go | ||
| ai_usage.go | ||
| drive_org_folders.go | ||
| drive_org_mounts.go | ||
| handlers_mail_domains.go | ||
| handlers.go | ||
| identity_providers.go | ||
| org_llm.go | ||
| org_search_secrets.go | ||
| org_settings_env.go | ||
| org_settings_plugins_test.go | ||
| org_settings.go | ||
| public_shares_handlers.go | ||
| public_shares.go | ||
| service.go | ||
| sort_test.go | ||
| sort.go | ||
| user_bulk.go | ||
| user_groups_handlers.go | ||
| user_groups.go | ||
| validate.go | ||