Messages returns the conversation history.
()
| 79 | |
| 80 | // Messages returns the conversation history. |
| 81 | func (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 |
no outgoing calls