MCPcopy Create free account
hub / github.com/BerriAI/litellm / async_get_cache

Method async_get_cache

litellm/proxy/utils.py:500–512  ·  view source on GitHub ↗
(
        self,
        key: str,
        litellm_parent_otel_span: Span | None,
        local_only: bool = False,
        **kwargs: object,
    )

Source from the content-addressed store, hash-verified

498 self.dual_cache: DualCache = dual_cache
499
500 async def async_get_cache(
501 self,
502 key: str,
503 litellm_parent_otel_span: Span | None,
504 local_only: bool = False,
505 **kwargs: object,
506 ) -> Any:
507 return await self.dual_cache.async_get_cache(
508 key=key,
509 local_only=local_only,
510 parent_otel_span=litellm_parent_otel_span,
511 **kwargs,
512 )
513
514 async def async_set_cache(
515 self,

Calls

no outgoing calls