MCPcopy
hub / github.com/the-open-agent/openagent / OpenCodeProvider

Struct OpenCodeProvider

model/opencode.go:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30)
31
32type OpenCodeProvider struct {
33 serverUrl string
34 apiKey string
35 client *http.Client
36}
37
38func NewOpenCodeProvider(serverUrl string, apiKey string) (*OpenCodeProvider, error) {
39 if serverUrl == "" {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected