MCPcopy Create free account
hub / github.com/coder/coder / SetLogBodies

Method SetLogBodies

scaletest/chat/client.go:15–15  ·  view source on GitHub ↗
(logBodies bool)

Source from the content-addressed store, hash-verified

13type chatClient interface {
14 SetLogger(logger slog.Logger)
15 SetLogBodies(logBodies bool)
16 CreateChat(ctx context.Context, req codersdk.CreateChatRequest) (codersdk.Chat, error)
17 StreamChat(ctx context.Context, chatID uuid.UUID, opts *codersdk.StreamChatOptions) (<-chan codersdk.ChatStreamEvent, io.Closer, error)
18 CreateChatMessage(ctx context.Context, chatID uuid.UUID, req codersdk.CreateChatMessageRequest) (codersdk.CreateChatMessageResponse, error)

Callers 15

Test_ClientFunction · 0.65
initializeMethod · 0.65
RunMethod · 0.65
SetupMethod · 0.65
RunReturningUserMethod · 0.65
RunReturningWorkspaceMethod · 0.65
RunMethod · 0.65
RunMethod · 0.65
CleanupMethod · 0.65
SetLogBodiesMethod · 0.65
RunMethod · 0.65

Implementers 2

fakeChatClientscaletest/chat/run_internal_test.go
sdkChatClientscaletest/chat/client.go

Calls

no outgoing calls

Tested by 2

Test_ClientFunction · 0.52