From d174689ee22318cf83c3b87013262234c991ea71 Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Mon, 7 Apr 2025 12:36:54 -0700 Subject: [PATCH] Update LlamaCpp.ts --- core/llm/llms/LlamaCpp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/llm/llms/LlamaCpp.ts b/core/llm/llms/LlamaCpp.ts index a8b7e08b3..4833405ae 100644 --- a/core/llm/llms/LlamaCpp.ts +++ b/core/llm/llms/LlamaCpp.ts @@ -35,7 +35,7 @@ class LlamaCpp extends BaseLLM { ...this.requestOptions?.headers, }; - const resp = await this.fetch(new URL("completion", this.apiBase), { + const resp = await this.fetch(new URL("completions", this.apiBase), { method: "POST", headers, body: JSON.stringify({