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

Method fetch

crates/opencode-provider/src/openai.rs:1117–1126  ·  view source on GitHub ↗
(
            &self,
            _request: CustomFetchRequest,
        )

Source from the content-addressed store, hash-verified

1115 #[async_trait]
1116 impl CustomFetchProxy for NoopProxy {
1117 async fn fetch(
1118 &self,
1119 _request: CustomFetchRequest,
1120 ) -> Result<CustomFetchResponse, ProviderError> {
1121 Ok(CustomFetchResponse {
1122 status: 200,
1123 headers: HashMap::new(),
1124 body: String::new(),
1125 })
1126 }
1127
1128 async fn fetch_stream(
1129 &self,

Callers

nothing calls this directly

Calls 1

newFunction · 0.85

Tested by

no test coverage detected