fix: reverted the url of llama.cpp back to 'completion'.
This commit is contained in:
parent
a7b0ff9cf7
commit
e8523a2b07
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("completions", this.apiBase), {
|
||||
const resp = await this.fetch(new URL("completion", this.apiBase), {
|
||||
method: "POST",
|
||||
headers,
|
||||
body: JSON.stringify({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue