From 4133282a282c8cf918720a34c559d683d6275d90 Mon Sep 17 00:00:00 2001 From: Parth Sareen Date: Thu, 7 Nov 2024 13:20:51 -0800 Subject: [PATCH] Update src/utils.ts Co-authored-by: Bruce MacDonald --- src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.ts b/src/utils.ts index d2ca82e..76976bf 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -113,7 +113,7 @@ const fetchWithHeaders = async ( ): Promise => { const defaultHeaders = { 'Content-Type': 'application/json', - Accept: 'application/json', + Accept: 'application/json', 'User-Agent': `ollama-js/${version} (${getPlatform()})`, } as HeadersInit