Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
71
var
_ MessagePart = &MessagePartText{}
72
73
func
(p MessagePartText) Do(writer AgentIO) error {
74
_, err := writer.Write([]byte(p.Content))
75
return
err
76
}
77
78
func
(p MessagePartText) String() string {
79
if
p.Hidden {
Callers
nothing calls this directly
Calls
1
Write
Method · 0.65
Tested by
no test coverage detected