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

Method new

crates/opencode-provider/src/azure.rs:26–33  ·  view source on GitHub ↗
(api_key: impl Into<String>, endpoint: impl Into<String>)

Source from the content-addressed store, hash-verified

24
25impl AzureProvider {
26 pub fn new(api_key: impl Into<String>, endpoint: impl Into<String>) -> Self {
27 Self::with_config(AzureConfig {
28 api_key: api_key.into(),
29 endpoint: endpoint.into(),
30 deployment_name: None,
31 api_version: None,
32 })
33 }
34
35 pub fn with_config(config: AzureConfig) -> Self {
36 let models = vec![

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected