We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a05b9b6 commit 0c1bf40Copy full SHA for 0c1bf40
src/db/chromadb.js
@@ -20,6 +20,7 @@ class CustomOpenAIEmbeddingFunction {
20
const validTexts = texts.map(text => String(text || ""));
21
if (validTexts.length === 0) {
22
console.error(`no input to send to OpenAI`);
23
+
24
return []
25
} else {
26
0 commit comments