• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

inclusion-numerique / coop-mediation-numerique / eb13771c-78ed-464f-a6ad-f5f351160114

12 Feb 2026 08:14AM UTC coverage: 7.176% (-3.1%) from 10.253%
eb13771c-78ed-464f-a6ad-f5f351160114

push

circleci

hugues-m
feat: change dataspace contract end date rules for sync

(cherry picked from commit ecb6908c1)

469 of 9914 branches covered (4.73%)

Branch coverage included in aggregate %.

0 of 12 new or added lines in 3 files covered. (0.0%)

1207 existing lines in 143 files now uncovered.

1330 of 15156 relevant lines covered (8.78%)

39.5 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/apps/web/src/assistant/createEmbedding.ts
1
import { aiSdkAlbertEmbeddingModel } from '@app/web/assistant/aiSdkAlbertProvider'
2
import { createStopwatch } from '@app/web/utils/stopwatch'
3
import { embed } from 'ai'
4
import pThrottle from 'p-throttle'
5

UNCOV
6
const createEmbeddingThrottle = pThrottle({
×
7
  // 1000 per minute for albert
8
  limit: 15,
9
  interval: 1000,
10
})
11

UNCOV
12
const model = aiSdkAlbertEmbeddingModel
×
13

UNCOV
14
const createEmbeddingImmediate = async (text: string) => {
×
15
  const stopwatch = createStopwatch()
×
16

17
  const result = await embed({
×
18
    model,
19
    value: text,
20
  })
21

22
  return {
×
23
    model: model.modelId,
24
    embedding: result.embedding,
25
    duration: stopwatch.stop().duration,
26
  }
27
}
28

UNCOV
29
export const createEmbedding = createEmbeddingThrottle(createEmbeddingImmediate)
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc