Skip to content

Commit

Permalink
fix(ollama): Update embeddings.ts headers type to match Ollama (#7376)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpotter-m2 authored Dec 16, 2024
1 parent 4d12e31 commit 8bcaf4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/langchain-ollama/src/embeddings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ interface OllamaEmbeddingsParams extends EmbeddingsParams {
/**
* Optional HTTP Headers to include in the request.
*/
headers?: Headers;
headers?: Record<string, string>;

/**
* Advanced Ollama API request parameters in camelCase, see
Expand Down

0 comments on commit 8bcaf4a

Please sign in to comment.