MCPcopy Create free account
hub / github.com/coder/aibridge / Setup

Method Setup

intercept/interceptor.go:20–20  ·  view source on GitHub ↗

Setup injects some required dependencies. This MUST be called before using the interceptor to process requests.

(logger slog.Logger, rec recorder.Recorder, mcpProxy mcp.ServerProxier)

Source from the content-addressed store, hash-verified

18 // Setup injects some required dependencies. This MUST be called before using the interceptor
19 // to process requests.
20 Setup(logger slog.Logger, rec recorder.Recorder, mcpProxy mcp.ServerProxier)
21 // Model returns the model in use for this [Interceptor].
22 Model() string
23 // ProcessRequest handles the HTTP request.

Callers 12

newInterceptionProcessorFunction · 0.65
SetupMethod · 0.65
SetupMethod · 0.65
SetupMethod · 0.65
SetupMethod · 0.65
SetupMethod · 0.65
SetupMethod · 0.65

Calls

no outgoing calls