allow apiKey in OllamaEmbeddingsProvider

This commit is contained in:
Nate 2024-09-09 20:38:00 -07:00
parent 8f7332e9fa
commit 07853463c8

View file

@ -28,6 +28,7 @@ async function embedOne(
}),
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${options.apiKey}`,
},
});