Update LlamaCpp.ts

This commit is contained in:
Patrick Erichsen 2025-04-07 12:36:54 -07:00
parent 8acc20ab3e
commit d174689ee2

View file

@ -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({