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

Method Messages

x/acpio/acp_conversation.go:81–85  ·  view source on GitHub ↗

Messages returns the conversation history.

()

Source from the content-addressed store, hash-verified

79
80// Messages returns the conversation history.
81func (c *ACPConversation) Messages() []st.ConversationMessage {
82 c.mu.Lock()
83 defer c.mu.Unlock()
84 return slices.Clone(c.messages)
85}
86
87// Send sends a message to the agent synchronously.
88// It blocks until the agent has finished processing and returns any error

Calls

no outgoing calls