Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion acceleration/internal/api/limits_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ func (s *SelfHostedLimitsSuite) backend(app, organization string) *testClient {

// spent records a billable request of app's, costing micros, now.
func (s *SelfHostedLimitsSuite) spent(app string, micros int64) {
s.Require().NoError(s.store.Requests.Insert(context.Background(), &store.Request{
s.Require().NoError(insertRequest(context.Background(), s.store, &store.Request{
Modality: "llm", CustomerID: app, APIKey: "key_a", Provider: "stub", Model: "stub-llm",
StartedAt: time.Now(), CostMicros: micros, Billable: true, Success: true,
}))
Expand Down
Loading