mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(feat) add Predicted Outputs
for OpenAI (#6594)
* bump openai to openai==1.54.0 * add 'prediction' param * testing fix bedrock deprecated cohere.command-text-v14 * test test_openai_prediction_param.py * test_openai_prediction_param_with_caching * doc Predicted Outputs * doc Predicted Output
This commit is contained in:
parent
57b1bb5e06
commit
c047d51cc8
12 changed files with 362 additions and 13 deletions
|
@ -2550,6 +2550,7 @@ def get_optional_params( # noqa: PLR0915
|
|||
max_tokens=None,
|
||||
max_completion_tokens=None,
|
||||
modalities=None,
|
||||
prediction=None,
|
||||
audio=None,
|
||||
presence_penalty=None,
|
||||
frequency_penalty=None,
|
||||
|
@ -2631,6 +2632,7 @@ def get_optional_params( # noqa: PLR0915
|
|||
"max_tokens": None,
|
||||
"max_completion_tokens": None,
|
||||
"modalities": None,
|
||||
"prediction": None,
|
||||
"audio": None,
|
||||
"presence_penalty": None,
|
||||
"frequency_penalty": None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue