From 8bcaf4a38130d9b5c39f6a2efc41a65efe237c04 Mon Sep 17 00:00:00 2001 From: Kelsea Potter <79461418+kpotter-m2@users.noreply.github.com> Date: Mon, 16 Dec 2024 14:10:21 -0500 Subject: [PATCH] fix(ollama): Update embeddings.ts headers type to match Ollama (#7376) --- libs/langchain-ollama/src/embeddings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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