AS AgentScopeAPI 手册 / API Reference

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.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/quarkus/runtime/AgentScopeConfig.java:214–215

sysPrompt

public String sysPrompt()

返回 sysPrompt 结果。

System prompt.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/quarkus/runtime/AgentScopeConfig.java:220–221

maxIters

public int maxIters()

返回最大迭代次数。

Maximum iterations.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/quarkus/runtime/AgentScopeConfig.java:226–227
基于官方固定版本源码静态生成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.