mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
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
|
||||
fallbacks=[],
|
||||
caching = False,
|
||||
cache_params = {}, # optional to specify metadata for caching
|
||||
) -> ModelResponse:
|
||||
args = locals()
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue