MCPcopy Index your code
hub / github.com/docker/docker-agent / Transcript

Struct Transcript

pkg/tui/components/transcript/transcript.go:34–39  ·  view source on GitHub ↗

Transcript is the chat history. The zero value is not usable; create one with New. It is not safe for concurrent use: like every Bubble Tea model, it must only be touched from the program's update loop.

Source from the content-addressed store, hash-verified

32// with New. It is not safe for concurrent use: like every Bubble Tea model,
33// it must only be touched from the program's update loop.
34type Transcript struct {
35 state service.SessionStateReader
36 msgs []*types.Message
37 views []layout.Model
38 width int
39}
40
41// New creates an empty transcript. The session state is consulted by the
42// tool views for rendering preferences; embedders without one should pass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected