7.0.4
📦 cohere-clientView on GitHub →
🐛 1 fixes🔧 1 symbols
Summary
This patch release fixes a critical bug where the embed function crashed with an IndexError when provided with an empty list of texts.
🐛 Bug Fixes
- Fixed an issue where calling embed(texts=[]) caused an IndexError crash when the input list was empty.