Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coder/agentapi
/ SetOnChunk
Method
SetOnChunk
x/acpio/acp_conversation.go:23–23 ·
view source on GitHub ↗
(fn func(chunk string))
Source
from the content-addressed store, hash-verified
21
type
ChunkableAgentIO
interface
{
22
st.AgentIO
23
SetOnChunk(fn
func
(chunk string))
24
}
25
26
// ACPConversation tracks conversations with ACP-based agents.
Callers
5
Test_ACPAgentIO_WriteAndReadScreen
Function · 0.65
Test_ACPAgentIO_StreamingChunks
Function · 0.65
Test_ACPAgentIO_ToolCallFormattedAsText
Function · 0.65
Test_ACPAgentIO_ResetsResponseBetweenWrites
Function · 0.65
Start
Method · 0.65
Implementers
2
mockAgentIO
x/acpio/acp_conversation_test.go
ACPAgentIO
x/acpio/acpio.go
Calls
no outgoing calls
Tested by
4
Test_ACPAgentIO_WriteAndReadScreen
Function · 0.52
Test_ACPAgentIO_StreamingChunks
Function · 0.52
Test_ACPAgentIO_ToolCallFormattedAsText
Function · 0.52
Test_ACPAgentIO_ResetsResponseBetweenWrites
Function · 0.52