MCPcopy Index your code
hub / github.com/coder/coder / Setup

Method Setup

aibridge/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.

Calls

no outgoing calls