ChunkableAgentIO extends AgentIO with chunk callback support for streaming responses. This interface is what ACPConversation needs from its AgentIO implementation.
| 19 | // ChunkableAgentIO extends AgentIO with chunk callback support for streaming responses. |
| 20 | // This interface is what ACPConversation needs from its AgentIO implementation. |
| 21 | type ChunkableAgentIO interface { |
| 22 | st.AgentIO |
| 23 | SetOnChunk(fn func(chunk string)) |
| 24 | } |
| 25 | |
| 26 | // ACPConversation tracks conversations with ACP-based agents. |
| 27 | // Unlike PTY-based Conversation, ACP has blocking writes where the |
no outgoing calls
no test coverage detected