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

Method StreamChat

scaletest/chat/client.go:17–17  ·  view source on GitHub ↗
(ctx context.Context, chatID uuid.UUID, opts *codersdk.StreamChatOptions)

Source from the content-addressed store, hash-verified

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)
19 UpdateChat(ctx context.Context, chatID uuid.UUID, req codersdk.UpdateChatRequest) error
20}

Callers 3

TestStreamChatFunction · 0.65
RunMethod · 0.65
StreamChatMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 1

TestStreamChatFunction · 0.52