MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / with_cache_control

Method with_cache_control

crates/opencode-provider/src/message.rs:206–209  ·  view source on GitHub ↗
(mut self, cache_control: CacheControl)

Source from the content-addressed store, hash-verified

204 }
205
206 pub fn with_cache_control(mut self, cache_control: CacheControl) -> Self {
207 self.cache_control = Some(cache_control);
208 self
209 }
210}
211
212impl ChatRequest {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected