mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-23 02:24:18 +00:00
add cache params
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user