ConversationTurnCommandHandler
@FunctionalInterface public interface ConversationTurnCommandHandler
源码Source
io/agentscope/extensions/aistio/transport/GrpcTransport.java:79–82定义会话轮次命令处理器契约的接口。位于 io.agentscope.extensions.aistio.transport 包。核心成员包括 onConversationTurn。
Receives a fenced online conversation turn from the control plane.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public void onConversationTurn(ConversationTurnCommand command) | 处理会话轮次事件。 Performs the on conversation turn operation. |
方法详情Method Detail
onConversationTurn
public void onConversationTurn(ConversationTurnCommand command)
处理会话轮次事件。
Performs the on conversation turn operation.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
command | ConversationTurnCommand | 命令(类型 `ConversationTurnCommand`)。The command. |
源码Source
io/agentscope/extensions/aistio/transport/GrpcTransport.java:81