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

Method new

crates/opencode-provider/src/github_copilot.rs:67–72  ·  view source on GitHub ↗
(oauth_token: impl Into<String>)

Source from the content-addressed store, hash-verified

65
66impl GitHubCopilotProvider {
67 pub fn new(oauth_token: impl Into<String>) -> Self {
68 Self::with_config(GitHubCopilotConfig {
69 oauth_token: oauth_token.into(),
70 base_url: None,
71 })
72 }
73
74 pub fn with_config(config: GitHubCopilotConfig) -> Self {
75 let models = vec![

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected