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

Function withActor

internal/integrationtest/setupbridge.go:122–124  ·  view source on GitHub ↗

withActor sets the actor ID and metadata for the BaseContext.

(id string, md recorder.Metadata)

Source from the content-addressed store, hash-verified

120
121// withActor sets the actor ID and metadata for the BaseContext.
122func withActor(id string, md recorder.Metadata) bridgeOption {
123 return func(c *bridgeConfig) { c.userID = id; c.metadata = md }
124}
125
126// newBridgeTestServer creates a fully configured test server running
127// a RequestBridge with sensible defaults:

Calls

no outgoing calls