AgentConfig
interface AgentConfig
源码Source
io/agentscope/quarkus/runtime/AgentScopeConfig.java:210–228定义智能体配置契约的接口。位于 io.agentscope.quarkus.runtime 包。核心成员包括 name、sysPrompt、maxIters。
Agent configuration.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String name() | 返回名称。 Agent name. |
public String sysPrompt() | 返回 `sysPrompt` 结果。 System prompt. |
public int maxIters() | 返回最大迭代次数。 Maximum iterations. |
方法详情Method Detail
name
public String name()
返回名称。
Agent name.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/quarkus/runtime/AgentScopeConfig.java:214–215sysPrompt
public String sysPrompt()
返回 sysPrompt 结果。
System prompt.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/quarkus/runtime/AgentScopeConfig.java:220–221maxIters
public int maxIters()
返回最大迭代次数。
Maximum iterations.
int返回数值结果。Returns a numeric result.
源码Source
io/agentscope/quarkus/runtime/AgentScopeConfig.java:226–227