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

Function TestWrapModel_NilService

coderd/x/chatd/chatdebug/recorder_internal_test.go:72–78  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

70}
71
72func TestWrapModel_NilService(t *testing.T) {
73 t.Parallel()
74
75 model := &chattest.FakeModel{ProviderName: "provider", ModelName: "model"}
76 wrapped := WrapModel(model, nil, RecorderOptions{})
77 require.Same(t, model, wrapped)
78}
79
80func TestNextStepNumber_Concurrent(t *testing.T) {
81 t.Parallel()

Callers

nothing calls this directly

Calls 1

WrapModelFunction · 0.85

Tested by

no test coverage detected