ProtocolConfig
public interface ProtocolConfig
源码Source
io/agentscope/runtime/protocol/ProtocolConfig.java:24–31用于每个类型Protocol的协议配置。位于 io.agentscope.runtime.protocol 包。核心成员包括 type、name。
Protocol configuration for each type Protocol.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public Protocol type() | 返回类型。 Returns the type. |
default public String name()default | 返回名称。 Returns the name. |
方法详情Method Detail
type
public Protocol type()
返回类型。
Returns the type.
Protocol返回协议。Returns protocol.
源码Source
io/agentscope/runtime/protocol/ProtocolConfig.java:26name
default public String name()
default
返回名称。
Returns the name.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/runtime/protocol/ProtocolConfig.java:28–30