AS AgentScopeAPI 手册 / API Reference

ReasoningInput

public record ReasoningInput(List<Msg> messages, List<ToolSchema> tools, GenerateOptions options)
源码Source io/agentscope/core/middleware/ReasoningInput.java:30

用于MiddlewareBase#onReasoning的输入上下文。位于 io.agentscope.core.middleware 包。核心成员包括 messages、tools、options。

Input context for MiddlewareBase#onReasoning.

记录组件摘要Record Component Summary

组件Component类型Type说明Description
messagesList<Msg>
消息到发送到模型。
the messages to send to the model
toolsList<ToolSchema>
工具模式可用到模型。
the tool schemas available to the model
optionsGenerateOptions
执行选项相关操作。
generation options

记录组件详情Record Component Detail

messages

List<Msg> messages

消息到发送到模型。

the messages to send to the model

源码Source io/agentscope/core/middleware/ReasoningInput.java:30

tools

List<ToolSchema> tools

工具模式可用到模型。

the tool schemas available to the model

源码Source io/agentscope/core/middleware/ReasoningInput.java:30

options

GenerateOptions options

执行选项相关操作。

generation options

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