(ctx context.Context, ids []uuid.UUID)
| 1467 | } |
| 1468 | |
| 1469 | func (m queryMetricsStore) GetChatFilesByIDs(ctx context.Context, ids []uuid.UUID) ([]database.ChatFile, error) { |
| 1470 | start := time.Now() |
| 1471 | r0, r1 := m.s.GetChatFilesByIDs(ctx, ids) |
| 1472 | m.queryLatencies.WithLabelValues("GetChatFilesByIDs").Observe(time.Since(start).Seconds()) |
| 1473 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "GetChatFilesByIDs").Inc() |
| 1474 | return r0, r1 |
| 1475 | } |
| 1476 | |
| 1477 | func (m queryMetricsStore) GetChatGeneralModelOverride(ctx context.Context) (string, error) { |
| 1478 | start := time.Now() |
nothing calls this directly
no test coverage detected