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

Struct Runner

scaletest/chat/run.go:22–37  ·  view source on GitHub ↗

Runner executes a single chat conversation as part of a scaletest run.

Source from the content-addressed store, hash-verified

20
21// Runner executes a single chat conversation as part of a scaletest run.
22type Runner struct {
23 client chatClient
24 cfg Config
25
26 chatID uuid.UUID
27 result runnerResult
28
29 conversationStart time.Time
30 turnStartTime time.Time
31 currentPhase string
32 lastStreamError string
33 lastStatus codersdk.ChatStatus
34 sawTurnRunning bool
35 sawTurnFirstOutput bool
36 markTurnStartReady func()
37}
38
39type runnerResult struct {
40 finalStatus string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected