MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / has_custom_fetch

Method has_custom_fetch

crates/opencode-plugin/src/subprocess/auth.rs:72–75  ·  view source on GitHub ↗

Whether the plugin provides a custom fetch that must proxy LLM requests.

(&self)

Source from the content-addressed store, hash-verified

70
71 /// Whether the plugin provides a custom fetch that must proxy LLM requests.
72 pub fn has_custom_fetch(&self) -> bool {
73 self.has_custom_fetch
74 .load(std::sync::atomic::Ordering::Relaxed)
75 }
76
77 /// The cached API key from the last `load()` call, if any.
78 pub async fn cached_api_key(&self) -> Option<String> {

Callers 2

fetch_proxyMethod · 0.80
fetch_proxy_streamMethod · 0.80

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected