mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-06 12:22:33 +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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user