Skip to content

fix(utils): embed(texts=[]) crashes with IndexError on empty input - #778

Merged
fern-support merged 3 commits into
cohere-ai:mainfrom
devteamaegis:fix/embed-empty-list
Jun 10, 2026
Merged

fix(utils): embed(texts=[]) crashes with IndexError on empty input#778
fern-support merged 3 commits into
cohere-ai:mainfrom
devteamaegis:fix/embed-empty-list

chore: bump version 7.0.3 -> 7.0.4

a8e323a
Select commit
Loading
Failed to load commit list.
Cursor / Cursor Bugbot succeeded Jun 10, 2026 in 37s

Bugbot Review

Bugbot Analysis Progress (38s elapsed)

✅ Gathered PR context (2s)
✅ Completed bug detection (36s)
✅ Posted analysis results (1s)

Final Result: Bugbot completed review - no issues found! ✅

Request ID: serverGenReqId_ae87a161-3ecf-42c9-8601-ba837d839283

Details