Detailed token usage metrics for the current operation.
Contains comprehensive token consumption data including total usage, input token breakdown with cache statistics, and output token categorization by generation type. This component-level tracking enables precise analysis of resource utilization for specific agent operations such as schema generation, test writing, or code implementation.
The token usage data helps identify optimization opportunities, monitor operational costs, and ensure efficient use of AI resources throughout the automated backend development process.
Base interface for AutoBE events that track token usage.
This interface provides token consumption tracking capabilities for events emitted during the AutoBE backend generation process. It enables detailed monitoring of AI token usage across different agent operations, supporting cost analysis, performance optimization, and resource utilization tracking.
Events extending this interface inherit the ability to report comprehensive token usage metrics including total consumption, input token analysis with caching statistics, and output token breakdown by generation type. This granular tracking is essential for understanding and optimizing the computational costs of the automated development pipeline.
Author
Samchon