MCPcopy Create free account
hub / github.com/coder/agentapi / Do

Method Do

lib/screentracker/pty_conversation.go:73–76  ·  view source on GitHub ↗
(writer AgentIO)

Source from the content-addressed store, hash-verified

71var _ MessagePart = &MessagePartText{}
72
73func (p MessagePartText) Do(writer AgentIO) error {
74 _, err := writer.Write([]byte(p.Content))
75 return err
76}
77
78func (p MessagePartText) String() string {
79 if p.Hidden {

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.65

Tested by

no test coverage detected