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

Method get_endpoint

crates/opencode-provider/src/bedrock.rs:143–148  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

141 }
142
143 fn get_endpoint(&self) -> String {
144 if let Some(ref url) = self.config.endpoint_url {
145 return url.clone();
146 }
147 BEDROCK_RUNTIME_URL.replace("{region}", &self.config.region)
148 }
149
150 fn convert_request(&self, request: ChatRequest) -> BedrockConverseRequest {
151 let mut messages = Vec::new();

Callers 2

chatMethod · 0.80
chat_streamMethod · 0.80

Calls 2

replaceMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected