forked from phoenix/litellm-mirror
add cache params
This commit is contained in:
parent
8180ba273b
commit
9f7d397014
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ def completion(
|
||||||
request_timeout=0, # unused var for old version of OpenAI API
|
request_timeout=0, # unused var for old version of OpenAI API
|
||||||
fallbacks=[],
|
fallbacks=[],
|
||||||
caching = False,
|
caching = False,
|
||||||
|
cache_params = {}, # optional to specify metadata for caching
|
||||||
) -> ModelResponse:
|
) -> ModelResponse:
|
||||||
args = locals()
|
args = locals()
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue