Update LlamaCpp.ts
This commit is contained in:
parent
8acc20ab3e
commit
d174689ee2
1 changed files with 1 additions and 1 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue