With Prompt Caching • Rust AI Agent SDK
with_prompt_caching: Enable prompt caching
with_prompt_caching
Method
</div>
This is a method of the CachingConfig class in the config module.
Enable prompt caching
Signature
def with_prompt_caching(mut self) -> SelfReturns
ResponseField
SelfThe result of the operation.