fix: reverted the url of llama.cpp back to 'completion'.

This commit is contained in:
Nick 2025-05-19 08:55:34 +00:00
parent a7b0ff9cf7
commit e8523a2b07

View file

@ -35,7 +35,7 @@ class LlamaCpp extends BaseLLM {
...this.requestOptions?.headers,
};
const resp = await this.fetch(new URL("completions", this.apiBase), {
const resp = await this.fetch(new URL("completion", this.apiBase), {
method: "POST",
headers,
body: JSON.stringify({