fix(growth): harden AI jobs and cost controls
This commit is contained in:
@@ -41,6 +41,8 @@ type Usage struct {
|
||||
InputTokens int64 `json:"inputTokens"`
|
||||
OutputTokens int64 `json:"outputTokens"`
|
||||
LatencyMS int64 `json:"latencyMs"`
|
||||
ProviderRequests int64 `json:"providerRequests"`
|
||||
ReservedTokens int64 `json:"reservedTokens"`
|
||||
ProviderRequestID string `json:"providerRequestId,omitempty"`
|
||||
EstimatedCost string `json:"estimatedCost,omitempty"`
|
||||
}
|
||||
@@ -77,6 +79,7 @@ type Record struct {
|
||||
Usage Usage
|
||||
ManualRefresh bool
|
||||
TehranRefreshDay *time.Time
|
||||
ClaimToken string
|
||||
}
|
||||
|
||||
type CreateRequest struct {
|
||||
|
||||
Reference in New Issue
Block a user