AS AgentScopeAPI 手册 / API Reference
类class agentscope.model

Parameters

class Parameters(BaseModel)
源码Source agentscope/model/_minimax/_model.py:19–36

参数用于 MiniMax 聊天模型。位于 agentscope.model 包。

The parameters for the MiniMax chat model. Declared in agentscope.model.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
max_tokensint | None
最大令牌数字段。
Field(default=None, title='Max Tokens', description='The maximum number of tokens to generate in the chat completion.', gt=0)
thinking_enablebool
`thinking_enable` 字段。
Field(default=False, title='Thinking', description='Whether to enable adaptive thinking.')

属性详情Attribute Detail

max_tokens

int | None = Field(default=None, title='Max Tokens', description='The maximum number of tokens to generate in the chat completion.', gt=0)

最大令牌数字段。声明为 int | None。

The maximum number of tokens to generate in the chat completion.

源码Source agentscope/model/_minimax/_model.py:22

thinking_enable

bool = Field(default=False, title='Thinking', description='Whether to enable adaptive thinking.')

thinking_enable 字段。声明为 bool。

Whether to enable adaptive thinking.

源码Source agentscope/model/_minimax/_model.py:32
基于官方固定版本源码静态生成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.