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

Function aibridgeTestRequest

coderd/x/chatd/model_routing_internal_test.go:71–77  ·  view source on GitHub ↗
(chat database.Chat, model string)

Source from the content-addressed store, hash-verified

69}
70
71func aibridgeTestRequest(chat database.Chat, model string) modelClientRequest {
72 return modelClientRequest{
73 Chat: chat,
74 ModelName: model,
75 UserAgent: chatprovider.UserAgent(),
76 }
77}
78
79func TestAIBridgeProviderFormatMapping(t *testing.T) {
80 t.Parallel()

Calls 1

UserAgentFunction · 0.92

Tested by

no test coverage detected