MCPcopy Create free account
hub / github.com/InferCore/InferCore / Adapter

Struct Adapter

internal/adapters/gemini/gemini.go:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52type Adapter struct {
53 cfg config.BackendConfig
54 baseURL string
55 httpClient *http.Client
56 vertex bool // Vertex AI Gemini (Bearer token + regional aiplatform host)
57}
58
59func New(cfg config.BackendConfig) *Adapter {
60 timeout := time.Duration(cfg.TimeoutMS) * time.Millisecond

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected