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

Method new

crates/opencode-provider/src/vertex.rs:29–40  ·  view source on GitHub ↗
(
        access_token: impl Into<String>,
        project_id: impl Into<String>,
        location: impl Into<String>,
    )

Source from the content-addressed store, hash-verified

27
28impl GoogleVertexProvider {
29 pub fn new(
30 access_token: impl Into<String>,
31 project_id: impl Into<String>,
32 location: impl Into<String>,
33 ) -> Self {
34 Self::with_config(VertexConfig {
35 access_token: access_token.into(),
36 project_id: project_id.into(),
37 location: location.into(),
38 base_url: None,
39 })
40 }
41
42 pub fn with_config(config: VertexConfig) -> Self {
43 let models = vec![

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected