AS AgentScopeAPI 手册 / API Reference

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
commandConversationTurnCommand命令(类型 `ConversationTurnCommand`)。The command.
源码Source io/agentscope/extensions/aistio/transport/GrpcTransport.java:81
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.