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

Method new

crates/opencode-provider/src/gitlab.rs:27–32  ·  view source on GitHub ↗
(api_key: impl Into<String>)

Source from the content-addressed store, hash-verified

25
26impl GitLabProvider {
27 pub fn new(api_key: impl Into<String>) -> Self {
28 Self::with_config(GitLabConfig {
29 api_key: api_key.into(),
30 instance_url: None,
31 })
32 }
33
34 pub fn with_config(config: GitLabConfig) -> Self {
35 let models = vec![

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected