AS AgentScopeAPI 手册 / API Reference

AgentInput

public record AgentInput(List<Msg> msgs)
源码Source io/agentscope/core/middleware/AgentInput.java:26

用于MiddlewareBase#onAgent的输入上下文。位于 io.agentscope.core.middleware 包。核心成员包括 msgs。

Input context for MiddlewareBase#onAgent.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
msgsList<Msg>
输入消息到智能体。
the input messages to the agent

记录组件详情Record Component Detail

msgs

List<Msg> msgs

输入消息到智能体。

the input messages to the agent

源码Source io/agentscope/core/middleware/AgentInput.java:26
基于官方固定版本源码静态生成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.