fix: 🐛 llamacpp fix indexing max_tokens
This commit is contained in:
parent
af4944c80c
commit
90590ab4e0
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class LlamaCpp(LLM):
|
|||
self.model,
|
||||
with_history,
|
||||
self.context_length,
|
||||
args["max_tokens"],
|
||||
args["n_predict"] if "n_predict" in args else 1024,
|
||||
prompt,
|
||||
functions=args.get("functions", None),
|
||||
system_message=self.system_message,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue