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

Method statusLocked

x/acpio/acp_conversation.go:169–174  ·  view source on GitHub ↗

statusLocked returns the status without acquiring the lock (caller must hold lock).

()

Source from the content-addressed store, hash-verified

167
168// statusLocked returns the status without acquiring the lock (caller must hold lock).
169func (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.
177func (c *ACPConversation) Stop() {

Callers 4

SendMethod · 0.95
StatusMethod · 0.95
handleChunkMethod · 0.95
executePromptMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected