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

Method async_set_cache

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

Source from the content-addressed store, hash-verified

512 )
513
514 async def async_set_cache(
515 self,
516 key: str,
517 value: object,
518 litellm_parent_otel_span: Span | None,
519 local_only: bool = False,
520 **kwargs: object,
521 ) -> None:
522 return await self.dual_cache.async_set_cache(
523 key=key,
524 value=value,
525 local_only=local_only,
526 litellm_parent_otel_span=litellm_parent_otel_span,
527 **kwargs,
528 )
529
530 async def async_batch_set_cache(
531 self,

Calls

no outgoing calls