statusLocked returns the status without acquiring the lock (caller must hold lock).
()
| 167 | |
| 168 | // statusLocked returns the status without acquiring the lock (caller must hold lock). |
| 169 | func (c *ACPConversation) statusLocked() st.ConversationStatus { |
| 170 | if c.prompting { |
| 171 | return st.ConversationStatusChanging // agent is processing |
| 172 | } |
| 173 | return st.ConversationStatusStable |
| 174 | } |
| 175 | |
| 176 | // Stop cancels any in-progress operations. |
| 177 | func (c *ACPConversation) Stop() { |
no outgoing calls
no test coverage detected