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

Struct Context

agent/agentchat/log.go:16–19  ·  view source on GitHub ↗

Context carries the chat identity associated with an agent request.

Source from the content-addressed store, hash-verified

14
15// Context carries the chat identity associated with an agent request.
16type Context struct {
17 ID uuid.UUID
18 AncestorIDs []uuid.UUID
19}
20
21// FromContext returns the chat identity stored on the context.
22func FromContext(ctx context.Context) (Context, bool) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected