AS AgentScopeAPI 手册 / API Reference

IdentityConfig

@JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonIgnoreProperties(ignoreUnknown = true) public static class IdentityConfig
源码Source io/agentscope/builder/runtime/config/AgentConfigEntry.java:276–303

身份配置,保存相关配置项。位于 io.agentscope.builder.runtime.config 包。核心成员包括 getName、setName、getEmoji、setEmoji。

A class in io.agentscope.builder.runtime.config that deploys, schedules and serves agents. Declared in io.agentscope.builder.runtime.config.

方法摘要Method Summary

方法Method说明Description
public String getName()
获取名称。
Returns the name.
public void setName(String name)
设置名称。
Sets the name.
public String getEmoji()
获取 `getEmoji`。
Returns the emoji.
public void setEmoji(String emoji)
设置 `setEmoji`。
Sets the emoji.

方法详情Method Detail

getName

public String getName()

获取名称。

Returns the name.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/runtime/config/AgentConfigEntry.java:288–290

setName

public void setName(String name)

设置名称。

Sets the name.

参数Parameters
名称Name类型Type说明Description
nameString名称(类型 `String`)。The name.
源码Source io/agentscope/builder/runtime/config/AgentConfigEntry.java:292–294

getEmoji

public String getEmoji()

获取 getEmoji。

Returns the emoji.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/builder/runtime/config/AgentConfigEntry.java:296–298

setEmoji

public void setEmoji(String emoji)

设置 setEmoji。

Sets the emoji.

参数Parameters
名称Name类型Type说明Description
emojiStringemoji(类型 `String`)。The emoji.
源码Source io/agentscope/builder/runtime/config/AgentConfigEntry.java:300–302
基于官方固定版本源码静态生成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.