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

Function withTracer

aibridge/internal/integrationtest/setupbridge.go:113–115  ·  view source on GitHub ↗

withTracer overrides the default tracer.

(t trace.Tracer)

Source from the content-addressed store, hash-verified

111
112// withTracer overrides the default tracer.
113func withTracer(t trace.Tracer) bridgeOption {
114 return func(c *bridgeConfig) { c.tracer = t }
115}
116
117// withMCP sets the MCP server proxier (default: NoopMCPManager).
118func withMCP(p mcp.ServerProxier) bridgeOption {

Callers 6

setupInjectedToolTestFunction · 0.85
TestTraceAnthropicFunction · 0.85
TestTraceAnthropicErrFunction · 0.85
TestTraceOpenAIFunction · 0.85
TestTraceOpenAIErrFunction · 0.85
TestTracePassthroughFunction · 0.85

Calls

no outgoing calls

Tested by 5

TestTraceAnthropicFunction · 0.68
TestTraceAnthropicErrFunction · 0.68
TestTraceOpenAIFunction · 0.68
TestTraceOpenAIErrFunction · 0.68
TestTracePassthroughFunction · 0.68