Skip to content

Commit

Permalink
Update embeddings.ts headers type to match Ollama
Browse files Browse the repository at this point in the history
Fixes issue #7375
  • Loading branch information
kpotter-m2 authored Dec 16, 2024
1 parent 4d12e31 commit e7a218e
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 e7a218e

Please sign in to comment.