diff --git a/libs/langchain-ollama/src/embeddings.ts b/libs/langchain-ollama/src/embeddings.ts index 8271ac525147..a2075b501c98 100644 --- a/libs/langchain-ollama/src/embeddings.ts +++ b/libs/langchain-ollama/src/embeddings.ts @@ -35,7 +35,7 @@ interface OllamaEmbeddingsParams extends EmbeddingsParams { /** * Optional HTTP Headers to include in the request. */ - headers?: Headers; + headers?: Record; /** * Advanced Ollama API request parameters in camelCase, see