mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
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:
|
||||
input_data = {
|
||||
"prompt": prompt,
|
||||
"system_prompt": system_prompt
|
||||
"system_prompt": system_prompt,
|
||||
**optional_params
|
||||
}
|
||||
# Otherwise, use the prompt as is
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue