forked from phoenix/litellm-mirror
Merge pull request #1080 from nbaldwin98/fixing-replicate-sys-prompt
fix replicate system prompt: forgot to add **optional_params to input data
This commit is contained in:
commit
bbbc5db104
1 changed files with 2 additions and 1 deletions
|
@ -232,7 +232,8 @@ def completion(
|
||||||
if system_prompt is not None:
|
if system_prompt is not None:
|
||||||
input_data = {
|
input_data = {
|
||||||
"prompt": prompt,
|
"prompt": prompt,
|
||||||
"system_prompt": system_prompt
|
"system_prompt": system_prompt,
|
||||||
|
**optional_params
|
||||||
}
|
}
|
||||||
# Otherwise, use the prompt as is
|
# Otherwise, use the prompt as is
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue