allow apiKey in OllamaEmbeddingsProvider
This commit is contained in:
parent
8f7332e9fa
commit
07853463c8
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ async function embedOne(
|
|||
}),
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
Authorization: `Bearer ${options.apiKey}`,
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue