Skip to content
Snippets Groups Projects
Unverified Commit b7cfe5bc authored by Igor Soares's avatar Igor Soares Committed by GitHub
Browse files

fix: passing max_token option to replicate's api call (#1050)


Co-authored-by: default avatarAlex Yang <himself65@outlook.com>
parent 3ccfb283
No related branches found
No related tags found
No related merge requests found
---
"llamaindex": patch
---
fix: passing max_token option to replicate's api call
...@@ -323,6 +323,7 @@ If a question does not make any sense, or is not factually coherent, explain why ...@@ -323,6 +323,7 @@ If a question does not make any sense, or is not factually coherent, explain why
prompt, prompt,
system_prompt: systemPrompt, system_prompt: systemPrompt,
temperature: this.temperature, temperature: this.temperature,
max_tokens: this.maxTokens,
top_p: this.topP, top_p: this.topP,
}, },
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment