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

Struct aibridgeTestFactory

coderd/x/chatd/model_routing_internal_test.go:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28)
29
30type aibridgeTestFactory struct {
31 providerName string
32 source aibridge.Source
33 err error
34 rt http.RoundTripper
35}
36
37func (f *aibridgeTestFactory) TransportFor(providerName string, source aibridge.Source) (http.RoundTripper, error) {
38 f.providerName = providerName

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected