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

Function statusEvent

scaletest/chat/run_internal_test.go:370–376  ·  view source on GitHub ↗
(chatID uuid.UUID, status codersdk.ChatStatus)

Source from the content-addressed store, hash-verified

368}
369
370func statusEvent(chatID uuid.UUID, status codersdk.ChatStatus) codersdk.ChatStreamEvent {
371 return codersdk.ChatStreamEvent{
372 Type: codersdk.ChatStreamEventTypeStatus,
373 ChatID: chatID,
374 Status: &codersdk.ChatStreamStatus{Status: status},
375 }
376}
377
378func messagePartEvent(chatID uuid.UUID) codersdk.ChatStreamEvent {
379 return codersdk.ChatStreamEvent{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected