索引

A B C D E F G H I J K L M N O P Q R S T U V W X 
常量字段值|所有程序包|所有类和接口|序列化表格

A

abnormal(String) - 记录类中的静态方法 io.agentscope.core.model.transport.websocket.CloseInfo
Create a CloseInfo for abnormal closure.
ABNORMAL_CLOSURE - 记录类中的静态变量 io.agentscope.core.model.transport.websocket.CloseInfo
Abnormal closure (1006).
AbstractBaseFormatter<TReq,TResp,TParams> - io.agentscope.core.formatter中的类
Abstract base formatter providing common functionality for all formatter implementations.
AbstractBaseFormatter() - 类的构造器 io.agentscope.core.formatter.AbstractBaseFormatter
 
accept(String) - 接口中的方法 io.agentscope.core.skill.SkillFileFilter
已过时。
Determines whether a resource path should be accepted for upload.
ACCEPT_EDITS - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionMode
 
acceptAll() - 接口中的静态方法 io.agentscope.core.skill.SkillFileFilter
已过时。
Returns a filter that accepts all files.
ACTING_CHUNK - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
已过时。
During tool execution streaming
ACTING_STOP_REQUESTED - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
Acting phase was stopped by a Hook (PostActingEvent.stopAgent()).
ActingChunkEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
ActingChunkEvent(Agent, Toolkit, ToolUseBlock, ToolResultBlock) - 类的构造器 io.agentscope.core.hook.ActingChunkEvent
已过时。
Constructor for ActingChunkEvent.
ActingEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
ActingEvent(HookEventType, Agent, Toolkit, ToolUseBlock) - 类的构造器 io.agentscope.core.hook.ActingEvent
已过时。
Constructor for ActingEvent.
ActingInput - io.agentscope.core.middleware中的记录类
ActingInput(List<ToolUseBlock>) - 记录类的构造器 io.agentscope.core.middleware.ActingInput
创建 ActingInput 记录类的实例。
activateOnSkill(String) - 类中的方法 io.agentscope.core.tool.SkillToolGroup.Builder
Sets the skill that this tool group is bound to.
active(boolean) - 类中的方法 io.agentscope.core.tool.SkillToolGroup.Builder
Sets the initial activation state.
active(boolean) - 类中的方法 io.agentscope.core.tool.ToolGroup.Builder
Sets the initial activation state.
activeGroups() - 记录类中的方法 io.agentscope.core.state.legacy.ToolkitState
返回 activeGroups 记录组件的值。
addActivatedGroup(String) - 类中的方法 io.agentscope.core.state.ToolContextState.Builder
 
addAllowedCommand(String) - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
Add a command to the whitelist in a thread-safe manner.
addAllowRule(String, PermissionRule) - 类中的方法 io.agentscope.core.permission.PermissionContextState.Builder
 
addAskRule(String, PermissionRule) - 类中的方法 io.agentscope.core.permission.PermissionContextState.Builder
 
addDenyRule(String, PermissionRule) - 类中的方法 io.agentscope.core.permission.PermissionContextState.Builder
 
addDocuments(List<Document>) - 接口中的方法 io.agentscope.core.rag.Knowledge
已过时。
Adds documents to the knowledge base.
addExtraParam(String, Object) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
addHook(Hook) - 类中的方法 io.agentscope.core.agent.AgentBase
Add a hook to this agent dynamically.
additionalBodyParam(String, Object) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Adds an additional parameter to include in the request body.
additionalBodyParams(Map<String, Object>) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets all additional parameters to include in the request body.
additionalHeader(String, String) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Adds an additional HTTP header to include in API requests.
additionalHeaders(Map<String, String>) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets all additional HTTP headers to include in API requests.
additionalQueryParam(String, String) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Adds an additional query parameter to include in API requests.
additionalQueryParams(Map<String, String>) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets all additional query parameters to include in API requests.
AdditionalWorkingDirectory - io.agentscope.core.permission中的记录类
A directory included in a permission context's working scope.
AdditionalWorkingDirectory(String, String) - 记录类的构造器 io.agentscope.core.permission.AdditionalWorkingDirectory
创建 AdditionalWorkingDirectory 记录类的实例。
addMessage(Msg) - 类中的方法 io.agentscope.core.memory.AgentStateMemoryView
已过时。
 
addMessage(Msg) - 类中的方法 io.agentscope.core.memory.InMemoryMemory
已过时。
Adds a message to the in-memory message list.
addMessage(Msg) - 接口中的方法 io.agentscope.core.memory.Memory
已过时。
Adds a message to the memory.
addMessage(Msg) - 类中的方法 io.agentscope.core.memory.StateBackedMemory
已过时。
 
addMessage(Msg) - 类中的方法 io.agentscope.core.state.AgentState.Builder
 
addPayload(String, Object) - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata.Builder
已过时。
Adds a single payload field.
addResource(String, String) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
已过时。
Adds or updates a single resource.
addRule(PermissionRule) - 类中的方法 io.agentscope.core.permission.PermissionEngine
Adds a rule to the engine's internal rule set.
addStore(ContextStore) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext.Builder
已过时。
Adds a single store to the store list.
addSystemHook(Hook) - 类中的静态方法 io.agentscope.core.agent.AgentBase
 
addTool(String) - 类中的方法 io.agentscope.core.tool.ToolGroup
Adds a tool to this group.
addToolCallsFromMessage(DashScopeMessage, List<ContentBlock>) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeResponseParser
Parse tool calls from DashScopeMessage and add to blocks.
addWorkingDirectory(String, AdditionalWorkingDirectory) - 类中的方法 io.agentscope.core.permission.PermissionContextState.Builder
 
afterAgentExecution() - 类中的方法 io.agentscope.core.agent.AgentBase
Invoked in Mono.using cleanup, before clearing the running state.
afterAgentExecution() - 类中的方法 io.agentscope.core.ReActAgent
 
agent(Agent) - 类中的方法 io.agentscope.core.tool.ToolCallParam.Builder
Sets the calling agent.
Agent - io.agentscope.core.agent中的接口
Complete agent interface combining all capabilities.
AGENT - 枚举类 中的枚举常量 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.SearchStrategy
Web search tools and large models can be called multiple times to achieve multiple rounds of information retrieval and content integration.
AGENT_CONTROL - 枚举类 中的枚举常量 io.agentscope.core.memory.LongTermMemoryMode
已过时。
Agent actively controls memory through tool calls.
AGENT_END - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
AGENT_MAX - 枚举类 中的枚举常量 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.SearchStrategy
Web extractor is supported on the basis of agent policies.
AGENT_RESULT - 枚举类 中的枚举常量 io.agentscope.core.agent.EventType
已过时。
Final result event - The agent's complete response.
AGENT_RESULT - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
AGENT_START - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
AgentBase - io.agentscope.core.agent中的类
Abstract base class for all agents in the AgentScope framework.
AgentBase(String) - 类的构造器 io.agentscope.core.agent.AgentBase
Constructor for AgentBase.
AgentBase(String, String) - 类的构造器 io.agentscope.core.agent.AgentBase
Constructor for AgentBase.
AgentBase(String, String, boolean, List<Hook>) - 类的构造器 io.agentscope.core.agent.AgentBase
已过时。
AgentBase(String, String, List<Hook>) - 类的构造器 io.agentscope.core.agent.AgentBase
Constructor for AgentBase with hooks.
AgentEndEvent - io.agentscope.core.event中的类
Emitted when an agent finishes processing an invocation.
AgentEndEvent(String) - 类的构造器 io.agentscope.core.event.AgentEndEvent
 
AgentEndEvent(String, String, String) - 类的构造器 io.agentscope.core.event.AgentEndEvent
 
AgentEvent - io.agentscope.core.event中的类
Base class for all fine-grained agent events.
AgentEvent() - 类的构造器 io.agentscope.core.event.AgentEvent
 
AgentEvent(String, String) - 类的构造器 io.agentscope.core.event.AgentEvent
 
AgentEventEmitter - io.agentscope.core.event中的接口
Public interface for emitting AgentEvents into the parent agent's streamEvents() event stream from within tool execution code.
AgentEventType - io.agentscope.core.event中的枚举类
Fine-grained event types emitted during agent execution.
AgentExceptionInfo(String, String, Throwable) - 记录类的构造器 io.agentscope.core.exception.CompositeAgentException.AgentExceptionInfo
创建 AgentExceptionInfo 记录类的实例。
AGENTIC - 枚举类 中的枚举常量 io.agentscope.core.rag.RAGMode
已过时。
Agentic mode: Agent decides when to retrieve knowledge via Tool.
agentId() - 记录类中的方法 io.agentscope.core.exception.CompositeAgentException.AgentExceptionInfo
返回 agentId 记录组件的值。
agentId(String) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
已过时。
 
AgentInput - io.agentscope.core.middleware中的记录类
AgentInput(List<Msg>) - 记录类的构造器 io.agentscope.core.middleware.AgentInput
创建 AgentInput 记录类的实例。
agentKey(String) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
已过时。
 
agentName() - 记录类中的方法 io.agentscope.core.exception.CompositeAgentException.AgentExceptionInfo
返回 agentName 记录组件的值。
agentName(String) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
已过时。
 
AgentResultEvent - io.agentscope.core.event中的类
Emitted when an agent successfully finishes processing an invocation, carrying the final result message.
AgentResultEvent(Msg) - 类的构造器 io.agentscope.core.event.AgentResultEvent
 
AgentResultEvent(String, String, Msg) - 类的构造器 io.agentscope.core.event.AgentResultEvent
 
AgentScopeJvmShutdownHook - io.agentscope.core.shutdown中的类
JVM hook for SIGTERM graceful shutdown entry.
AgentShuttingDownException - io.agentscope.core.shutdown中的异常错误类
Exception thrown when request is rejected or interrupted during shutdown.
AgentShuttingDownException() - 异常错误类的构造器 io.agentscope.core.shutdown.AgentShuttingDownException
 
AgentShuttingDownException(String) - 异常错误类的构造器 io.agentscope.core.shutdown.AgentShuttingDownException
 
AgentSkill - io.agentscope.core.skill中的类
已过时。
since 2.0.0. The skill package is removed; manage markdown skill catalogs in application code.
AgentSkill(String, String, String, Map<String, String>) - 类的构造器 io.agentscope.core.skill.AgentSkill
已过时。
Creates an AgentSkill with explicit parameters.
AgentSkill(String, String, String, Map<String, String>, String) - 类的构造器 io.agentscope.core.skill.AgentSkill
已过时。
Creates an AgentSkill with explicit parameters and custom source.
AgentSkill(Map<String, Object>, String, Map<String, String>, String) - 类的构造器 io.agentscope.core.skill.AgentSkill
已过时。
Creates an AgentSkill with explicit metadata.
AgentSkill(Map<String, Object>, String, Map<String, String>, String, Path) - 类的构造器 io.agentscope.core.skill.AgentSkill
已过时。
Creates an AgentSkill with explicit metadata and an on-disk origin directory.
AgentSkill.Builder - io.agentscope.core.skill中的类
已过时。
Builder for creating AgentSkill instances.
AgentSkillPromptProvider - io.agentscope.core.skill中的类
已过时。
since 2.0.0. The skill package is removed; manage markdown skill catalogs in application code.
AgentSkillPromptProvider(SkillRegistry) - 类的构造器 io.agentscope.core.skill.AgentSkillPromptProvider
已过时。
Creates a skill prompt provider.
AgentSkillPromptProvider(SkillRegistry, String) - 类的构造器 io.agentscope.core.skill.AgentSkillPromptProvider
已过时。
Creates a skill prompt provider with custom instruction.
AgentSkillRepository - io.agentscope.core.skill.repository中的接口
Repository interface for AgentSkill persistence operations.
AgentSkillRepositoryInfo - io.agentscope.core.skill.repository中的类
Metadata about a skill repository.
AgentSkillRepositoryInfo(String, String, boolean) - 类的构造器 io.agentscope.core.skill.repository.AgentSkillRepositoryInfo
Creates a new AgentSkillRepositoryInfo instance.
AgentStartEvent - io.agentscope.core.event中的类
Emitted when an agent begins processing an invocation.
AgentStartEvent(String, String, String) - 类的构造器 io.agentscope.core.event.AgentStartEvent
 
AgentStartEvent(String, String, String, String, String, String) - 类的构造器 io.agentscope.core.event.AgentStartEvent
 
agentState(AgentState) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
 
AgentState - io.agentscope.core.state中的类
Mutable per-agent runtime state.
AgentState.Builder - io.agentscope.core.state中的类
 
AgentStateMemoryView - io.agentscope.core.memory中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. New code should read context directly from AgentState.getContext().
AgentStateMemoryView(Supplier<AgentState>) - 类的构造器 io.agentscope.core.memory.AgentStateMemoryView
已过时。
 
AgentStateStore - io.agentscope.core.state中的接口
Persistent storage interface for AgentScope agent state.
agentTool(AgentTool) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
已过时。
Set the AgentTool instance to register.
agentTool(AgentTool) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
Set the AgentTool instance to register.
AgentTool - io.agentscope.core.tool中的接口
Interface for agent tools that can be called by models.
all() - 类中的静态方法 io.agentscope.core.skill.SkillFilter
All skills enabled (default when no filter is configured).
ALL - 枚举类 中的枚举常量 io.agentscope.core.agent.EventType
已过时。
Special value to stream all event types (except EventType.AGENT_RESULT).
allow(String) - 类中的静态方法 io.agentscope.core.permission.PermissionDecision
 
ALLOW - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionBehavior
 
allowed(String) - 类中的静态方法 io.agentscope.core.tool.coding.CommandValidator.ValidationResult
 
ALLOWED - 枚举类 中的枚举常量 io.agentscope.core.message.ToolCallState
 
allowToolDeletion(boolean) - 类中的方法 io.agentscope.core.tool.ToolkitConfig.Builder
Set whether tool deletion is allowed.
AnthropicBaseFormatter - io.agentscope.core.formatter.anthropic中的类
Abstract base formatter for Anthropic API with shared logic for handling Anthropic-specific requirements.
AnthropicBaseFormatter() - 类的构造器 io.agentscope.core.formatter.anthropic.AnthropicBaseFormatter
 
AnthropicChatFormatter - io.agentscope.core.formatter.anthropic中的类
Formatter for Anthropic Messages API.
AnthropicChatFormatter() - 类的构造器 io.agentscope.core.formatter.anthropic.AnthropicChatFormatter
 
AnthropicChatModel - io.agentscope.core.model中的类
Anthropic Chat Model implementation using the official Anthropic Java SDK.
AnthropicChatModel(String, String, String, boolean, GenerateOptions, AnthropicBaseFormatter, ProxyConfig) - 类的构造器 io.agentscope.core.model.AnthropicChatModel
Creates a new Anthropic chat model instance.
AnthropicChatModel.Builder - io.agentscope.core.model中的类
Builder for AnthropicChatModel.
AnthropicConversationMerger - io.agentscope.core.formatter.anthropic中的类
Merges multi-agent conversation messages into a formatted conversation history for Anthropic API.
AnthropicConversationMerger() - 类的构造器 io.agentscope.core.formatter.anthropic.AnthropicConversationMerger
 
AnthropicCredential - io.agentscope.core.credential中的类
Credential for the Anthropic API.
AnthropicCredential.Builder - io.agentscope.core.credential中的类
 
AnthropicMediaConverter - io.agentscope.core.formatter.anthropic中的类
Handles media content conversion for Anthropic API.
AnthropicMediaConverter() - 类的构造器 io.agentscope.core.formatter.anthropic.AnthropicMediaConverter
 
AnthropicMessageConverter - io.agentscope.core.formatter.anthropic中的类
Converts AgentScope Msg objects to Anthropic SDK MessageParam types.
AnthropicMessageConverter(Function<List<ContentBlock>, String>) - 类的构造器 io.agentscope.core.formatter.anthropic.AnthropicMessageConverter
Create an AnthropicMessageConverter with required dependency functions.
AnthropicMultiAgentFormatter - io.agentscope.core.formatter.anthropic中的类
Multi-agent formatter for Anthropic Messages API.
AnthropicMultiAgentFormatter() - 类的构造器 io.agentscope.core.formatter.anthropic.AnthropicMultiAgentFormatter
Create an AnthropicMultiAgentFormatter with default conversation history prompt.
AnthropicMultiAgentFormatter(String) - 类的构造器 io.agentscope.core.formatter.anthropic.AnthropicMultiAgentFormatter
Create an AnthropicMultiAgentFormatter with custom conversation history prompt.
AnthropicResponseParser - io.agentscope.core.formatter.anthropic中的类
Parses Anthropic API responses (both streaming and non-streaming) into AgentScope ChatResponse objects.
AnthropicResponseParser() - 类的构造器 io.agentscope.core.formatter.anthropic.AnthropicResponseParser
 
AnthropicToolsHelper - io.agentscope.core.formatter.anthropic中的类
Helper class for tool registration and option application for Anthropic API.
AnthropicToolsHelper() - 类的构造器 io.agentscope.core.formatter.anthropic.AnthropicToolsHelper
 
apiKey(String) - 类中的方法 io.agentscope.core.credential.AnthropicCredential.Builder
 
apiKey(String) - 类中的方法 io.agentscope.core.credential.DashScopeCredential.Builder
 
apiKey(String) - 类中的方法 io.agentscope.core.credential.DeepSeekCredential.Builder
 
apiKey(String) - 类中的方法 io.agentscope.core.credential.GeminiCredential.Builder
 
apiKey(String) - 类中的方法 io.agentscope.core.credential.KimiCredential.Builder
 
apiKey(String) - 类中的方法 io.agentscope.core.credential.OpenAICredential.Builder
 
apiKey(String) - 类中的方法 io.agentscope.core.credential.XAICredential.Builder
 
apiKey(String) - 类中的方法 io.agentscope.core.model.AnthropicChatModel.Builder
Sets the API key for authentication.
apiKey(String) - 类中的方法 io.agentscope.core.model.DashScopeChatModel.Builder
Sets the API key for DashScope authentication.
apiKey(String) - 类中的方法 io.agentscope.core.model.DashScopeHttpClient.Builder
Set the API key.
apiKey(String) - 类中的方法 io.agentscope.core.model.GeminiChatModel.Builder
Sets the API key (for Gemini API).
apiKey(String) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the API key for authentication.
apiKey(String) - 类中的方法 io.agentscope.core.model.OpenAIChatModel.Builder
Sets the API key for OpenAI authentication.
append(boolean) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
已过时。
Appends to existing file if present (default: true).
appendSystemContent(ContentBlock) - 类中的方法 io.agentscope.core.hook.HookEvent
已过时。
Appends a ContentBlock at the end of the system message.
appendSystemContent(String) - 类中的方法 io.agentscope.core.hook.HookEvent
已过时。
Appends the given text as a new TextBlock at the end of the system message.
apply() - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
已过时。
Apply the registration with all configured options.
apply() - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
Apply the registration with all configured options.
apply(MiddlewareBase, Agent, RuntimeContext, I, Function<I, Flux<AgentEvent>>) - 接口中的方法 io.agentscope.core.middleware.MiddlewareChain.MiddlewareMethod
 
applyAdditionalBodyParams(OpenAIRequest, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIChatFormatter
Apply additional body parameters from GenerateOptions to OpenAI request.
applyCacheControl(List<DashScopeMessage>) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeChatFormatter
Apply cache control to DashScope messages.
applyCacheControl(List<DashScopeMessage>) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeMultiAgentFormatter
Apply cache control to DashScope messages.
applyCacheControl(List<OpenAIMessage>) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIBaseFormatter
Apply cache control to OpenAI messages.
applyMaxTokens(OpenAIRequest, GenerateOptions, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIChatFormatter
 
applyOptions(MessageCreateParams.Builder, GenerateOptions, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.anthropic.AnthropicBaseFormatter
Apply generation options to Anthropic request parameters.
applyOptions(MessageCreateParams.Builder, GenerateOptions, GenerateOptions) - 类中的静态方法 io.agentscope.core.formatter.anthropic.AnthropicToolsHelper
Apply generation options to the builder.
applyOptions(GenerateContentConfig.Builder, GenerateOptions, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiChatFormatter
 
applyOptions(GenerateContentConfig.Builder, GenerateOptions, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiMultiAgentFormatter
 
applyOptions(DashScopeParameters, GenerateOptions, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeToolsHelper
Apply GenerateOptions to DashScopeParameters.
applyOptions(DashScopeRequest, GenerateOptions, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeChatFormatter
 
applyOptions(DashScopeRequest, GenerateOptions, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeMultiAgentFormatter
 
applyOptions(OllamaRequest, GenerateOptions, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaChatFormatter
 
applyOptions(OllamaRequest, GenerateOptions, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaMultiAgentFormatter
 
applyOptions(OllamaRequest, GenerateOptions, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaToolsHelper
Apply GenerateOptions to OllamaRequest.
applyOptions(OllamaRequest, OllamaOptions, OllamaOptions) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaChatFormatter
Apply OllamaOptions to the request.
applyOptions(OllamaRequest, OllamaOptions, OllamaOptions) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaMultiAgentFormatter
Apply OllamaOptions to the request.
applyOptions(OllamaRequest, OllamaOptions, OllamaOptions) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaToolsHelper
Apply OllamaOptions to OllamaRequest.
applyOptions(OpenAIRequest, GenerateOptions, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIBaseFormatter
Apply generation options to the request.
applyOptions(OpenAIRequest, GenerateOptions, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIChatFormatter
 
applyOptions(TParams, GenerateOptions, GenerateOptions) - 接口中的方法 io.agentscope.core.formatter.Formatter
Apply generation options to provider-specific request parameters.
applySystemMessage(MessageCreateParams.Builder, List<Msg>) - 类中的方法 io.agentscope.core.formatter.anthropic.AnthropicBaseFormatter
Extract and apply system message if present.
applyTimeoutAndRetry(Flux<ChatResponse>, GenerateOptions, GenerateOptions, String, String) - 类中的静态方法 io.agentscope.core.model.ModelUtils
Applies timeout and retry configuration to a model response Flux.
applyToConfigBuilder(SchemaGeneratorConfigBuilder) - 类中的方法 io.agentscope.core.tool.ToolSchemaModule
 
applyToolChoice(GenerateContentConfig.Builder, ToolChoice) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiChatFormatter
 
applyToolChoice(GenerateContentConfig.Builder, ToolChoice) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiMultiAgentFormatter
 
applyToolChoice(DashScopeParameters, ToolChoice) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeToolsHelper
Apply tool choice configuration to DashScopeParameters.
applyToolChoice(DashScopeRequest, ToolChoice) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeChatFormatter
Apply tool choice configuration to DashScopeRequest.
applyToolChoice(DashScopeRequest, ToolChoice) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeMultiAgentFormatter
 
applyToolChoice(OllamaRequest, ToolChoice) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaChatFormatter
 
applyToolChoice(OllamaRequest, ToolChoice) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaMultiAgentFormatter
 
applyToolChoice(OllamaRequest, ToolChoice) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaToolsHelper
Apply tool choice configuration to OllamaRequest.
applyToolChoice(OpenAIRequest, ToolChoice) - 类中的方法 io.agentscope.core.formatter.openai.GLMFormatter
 
applyToolChoice(OpenAIRequest, ToolChoice) - 类中的方法 io.agentscope.core.formatter.openai.GLMMultiAgentFormatter
 
applyToolChoice(OpenAIRequest, ToolChoice) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIBaseFormatter
Apply tool choice configuration to the request.
applyToolChoice(OpenAIRequest, ToolChoice) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIChatFormatter
 
applyToolChoice(OpenAIRequest, ToolChoice, String, String) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIBaseFormatter
Apply tool choice with provider context.
applyToolChoice(TParams, ToolChoice) - 接口中的方法 io.agentscope.core.formatter.Formatter
Apply tool choice configuration to provider-specific request parameters.
applyToolChoice(TParams, ToolChoice, String, String) - 接口中的方法 io.agentscope.core.formatter.Formatter
Apply tool choice configuration to provider-specific request parameters with provider detection.
applyTools(MessageCreateParams.Builder, List<ToolSchema>) - 类中的方法 io.agentscope.core.formatter.anthropic.AnthropicBaseFormatter
Apply tool schemas to Anthropic request parameters.
applyTools(MessageCreateParams.Builder, List<ToolSchema>, GenerateOptions) - 类中的静态方法 io.agentscope.core.formatter.anthropic.AnthropicToolsHelper
Apply tools to the message create params builder.
applyTools(GenerateContentConfig.Builder, List<ToolSchema>) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiChatFormatter
 
applyTools(GenerateContentConfig.Builder, List<ToolSchema>) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiMultiAgentFormatter
 
applyTools(DashScopeParameters, List<ToolSchema>) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeToolsHelper
Apply tools to DashScopeParameters.
applyTools(DashScopeRequest, List<ToolSchema>) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeChatFormatter
 
applyTools(DashScopeRequest, List<ToolSchema>) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeMultiAgentFormatter
 
applyTools(OllamaRequest, List<ToolSchema>) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaChatFormatter
 
applyTools(OllamaRequest, List<ToolSchema>) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaMultiAgentFormatter
 
applyTools(OllamaRequest, List<ToolSchema>) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaToolsHelper
Apply tools to OllamaRequest.
applyTools(OpenAIRequest, List<ToolSchema>) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIBaseFormatter
Apply tool schemas to the request.
applyTools(OpenAIRequest, List<ToolSchema>) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIChatFormatter
 
applyTools(OpenAIRequest, List<ToolSchema>, String, String) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIBaseFormatter
Apply tool schemas with provider context.
applyTools(TParams, List<ToolSchema>) - 接口中的方法 io.agentscope.core.formatter.Formatter
Apply tool schemas to provider-specific request parameters.
applyTools(TParams, List<ToolSchema>, String, String) - 接口中的方法 io.agentscope.core.formatter.Formatter
Apply tool schemas to provider-specific request parameters with provider compatibility handling.
ask(String) - 类中的静态方法 io.agentscope.core.permission.PermissionDecision
 
ASK - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionBehavior
 
ASKING - 枚举类 中的枚举常量 io.agentscope.core.message.ToolCallState
 
ASSISTANT - 枚举类 中的枚举常量 io.agentscope.core.message.MsgRole
Assistant role for messages generated by AI agents or assistants.
AssistantMessage - io.agentscope.core.message中的类
A Msg with MsgRole.ASSISTANT pinned at construction time.
AssistantMessage(ContentBlock...) - 类的构造器 io.agentscope.core.message.AssistantMessage
 
AssistantMessage(String) - 类的构造器 io.agentscope.core.message.AssistantMessage
 
AssistantMessage(String, ContentBlock...) - 类的构造器 io.agentscope.core.message.AssistantMessage
 
AssistantMessage(String, String) - 类的构造器 io.agentscope.core.message.AssistantMessage
 
AssistantMessage(List<ContentBlock>) - 类的构造器 io.agentscope.core.message.AssistantMessage
 
AssistantMessage.Builder - io.agentscope.core.message中的类
Fluent builder for AssistantMessage.
asToolExecutionContext() - 类中的方法 io.agentscope.core.agent.RuntimeContext
Merges this context's data into a ToolExecutionContext for tool invocations.
asyncElicitation(Function<McpSchema.ElicitRequest, Mono<McpSchema.ElicitResult>>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Registers an asynchronous elicitation handler for processing elicit requests from the server.
audio(String) - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
Create an audio content part.
audio(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart.Builder
 
audio(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
AudioBlock - io.agentscope.core.message中的类
Represents audio content in a message.
AudioBlock(Source) - 类的构造器 io.agentscope.core.message.AudioBlock
Creates a new audio block for JSON deserialization.
AudioBlock.Builder - io.agentscope.core.message中的类
Builder for constructing AudioBlock instances.
AuthenticationException - io.agentscope.core.model.exception中的异常错误类
Exception thrown when authentication fails (HTTP 401).
AuthenticationException(String, String, String) - 异常错误类的构造器 io.agentscope.core.model.exception.AuthenticationException
 
Auto() - 记录类的构造器 io.agentscope.core.model.ToolChoice.Auto
创建 Auto 记录类的实例。
AUTO - 枚举类 中的枚举常量 io.agentscope.core.model.EndpointType
Automatically determine endpoint type based on model name.
awaitTermination(Duration) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
Block until the shutdown state reaches TERMINATED or the given timeout elapses.

B

backoffMultiplier(Double) - 类中的方法 io.agentscope.core.model.ExecutionConfig.Builder
Sets the backoff multiplier applied after each retry.
BadRequestException - io.agentscope.core.model.exception中的异常错误类
Exception thrown when the request is malformed (HTTP 400).
BadRequestException(String, String, String) - 异常错误类的构造器 io.agentscope.core.model.exception.BadRequestException
 
Base64Source - io.agentscope.core.message中的类
Represents Base64-encoded media content with media type and data.
Base64Source(String, String) - 类的构造器 io.agentscope.core.message.Base64Source
Creates a new Base64 source for JSON deserialization.
Base64Source.Builder - io.agentscope.core.message中的类
Builder for constructing Base64Source instances.
baseUrl(String) - 类中的方法 io.agentscope.core.credential.AnthropicCredential.Builder
 
baseUrl(String) - 类中的方法 io.agentscope.core.credential.DashScopeCredential.Builder
 
baseUrl(String) - 类中的方法 io.agentscope.core.credential.DeepSeekCredential.Builder
 
baseUrl(String) - 类中的方法 io.agentscope.core.credential.KimiCredential.Builder
 
baseUrl(String) - 类中的方法 io.agentscope.core.credential.OpenAICredential.Builder
 
baseUrl(String) - 类中的方法 io.agentscope.core.model.AnthropicChatModel.Builder
Sets the base URL for the Anthropic API.
baseUrl(String) - 类中的方法 io.agentscope.core.model.DashScopeChatModel.Builder
Sets a custom base URL for DashScope API.
baseUrl(String) - 类中的方法 io.agentscope.core.model.DashScopeHttpClient.Builder
Set the base URL.
baseUrl(String) - 类中的方法 io.agentscope.core.model.GeminiChatModel.Builder
Sets the custom base URL (for Gemini API).
baseUrl(String) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the base URL for the API endpoint.
baseUrl(String) - 类中的方法 io.agentscope.core.model.OllamaChatModel.Builder
 
baseUrl(String) - 类中的方法 io.agentscope.core.model.OllamaHttpClient.Builder
 
baseUrl(String) - 类中的方法 io.agentscope.core.model.OpenAIChatModel.Builder
Sets a custom base URL for OpenAI API.
beforeAgentExecution(List<Msg>, RuntimeContext) - 类中的方法 io.agentscope.core.agent.AgentBase
Invoked at the start of a call / stream-backed call, after AgentBase.acquireExecution() and before any hooks.
beforeAgentExecution(List<Msg>, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
 
behavior() - 记录类中的方法 io.agentscope.core.permission.PermissionRule
返回 behavior 记录组件的值。
behavior(PermissionBehavior) - 类中的方法 io.agentscope.core.permission.PermissionDecision.Builder
 
bindRequestState(String, AgentState) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
Bind the per-call AgentState resolved for the in-flight request identified by requestId, so shutdown interruption and state-saving target that exact (userId, sessionId) session rather than the agent's no-arg "most-recently-active" accessors.
bindRuntimeContextToHooks(RuntimeContext) - 类中的方法 io.agentscope.core.agent.AgentBase
Pushes ctx to all RuntimeContextAware hooks registered for this agent.
bindStateSaver(Agent, ShutdownStateSaver) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
Register a ShutdownStateSaver for the given agent.
bindToolkit(Toolkit) - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Binds a toolkit to the skill box.
blockedBy(List<String>) - 类中的方法 io.agentscope.core.state.Task.Builder
 
blocks(List<String>) - 类中的方法 io.agentscope.core.state.Task.Builder
 
body(String) - 类中的方法 io.agentscope.core.model.transport.HttpRequest.Builder
Set the request body.
body(String) - 类中的方法 io.agentscope.core.model.transport.HttpResponse.Builder
Set the response body.
BOTH - 枚举类 中的枚举常量 io.agentscope.core.memory.LongTermMemoryMode
已过时。
Combines both agent control and automatic framework management.
build() - 类中的方法 io.agentscope.core.agent.EventSource.Builder
已过时。
 
build() - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
 
build() - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
 
build() - 类中的方法 io.agentscope.core.agent.user.StreamUserInput.Builder
已过时。
Build the StreamUserInput instance.
build() - 类中的方法 io.agentscope.core.agent.user.UserAgent.Builder
已过时。
Build the UserAgent instance.
build() - 类中的方法 io.agentscope.core.credential.AnthropicCredential.Builder
 
build() - 类中的方法 io.agentscope.core.credential.DashScopeCredential.Builder
 
build() - 类中的方法 io.agentscope.core.credential.DeepSeekCredential.Builder
 
build() - 类中的方法 io.agentscope.core.credential.GeminiCredential.Builder
 
build() - 类中的方法 io.agentscope.core.credential.KimiCredential.Builder
 
build() - 类中的方法 io.agentscope.core.credential.OllamaCredential.Builder
 
build() - 类中的方法 io.agentscope.core.credential.OpenAICredential.Builder
 
build() - 类中的方法 io.agentscope.core.credential.XAICredential.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeInput.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolFunction.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.openai.dto.JsonSchema.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction.Builder
 
build() - 类中的方法 io.agentscope.core.formatter.ResponseFormat.Builder
 
build() - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
已过时。
 
build() - 类中的方法 io.agentscope.core.interruption.InterruptContext.Builder
Build the InterruptContext.
build() - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
 
build() - 类中的方法 io.agentscope.core.message.AudioBlock.Builder
Builds a new AudioBlock with the configured source.
build() - 类中的方法 io.agentscope.core.message.Base64Source.Builder
Builds a new Base64Source with the configured properties.
build() - 类中的方法 io.agentscope.core.message.DataBlock.Builder
Builds a new DataBlock with the configured fields.
build() - 类中的方法 io.agentscope.core.message.ImageBlock.Builder
Builds a new ImageBlock with the configured source.
build() - 类中的方法 io.agentscope.core.message.Msg.Builder
Builds a new message instance with the configured properties.
build() - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
 
build() - 类中的方法 io.agentscope.core.message.TextBlock.Builder
Builds a new TextBlock with the configured text.
build() - 类中的方法 io.agentscope.core.message.ThinkingBlock.Builder
Builds a new ThinkingBlock with the configured thinking content and metadata.
build() - 类中的方法 io.agentscope.core.message.ToolResultBlock.Builder
Builds a new ToolResultBlock with the configured properties.
build() - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
 
build() - 类中的方法 io.agentscope.core.message.ToolUseBlock.Builder
Builds a new ToolUseBlock with the configured properties.
build() - 类中的方法 io.agentscope.core.message.URLSource.Builder
Builds a new URLSource with the configured URL.
build() - 类中的方法 io.agentscope.core.message.UserMessage.Builder
 
build() - 类中的方法 io.agentscope.core.message.VideoBlock.Builder
Builds a new VideoBlock with the configured source.
build() - 类中的方法 io.agentscope.core.model.AnthropicChatModel.Builder
Builds the AnthropicChatModel instance.
build() - 类中的方法 io.agentscope.core.model.ChatResponse.Builder
Builds a new ChatResponse instance with the set values.
build() - 类中的方法 io.agentscope.core.model.ChatUsage.Builder
Builds a new ChatUsage instance with the set values.
build() - 类中的方法 io.agentscope.core.model.DashScopeChatModel.Builder
Builds the DashScopeChatModel instance.
build() - 类中的方法 io.agentscope.core.model.DashScopeHttpClient.Builder
Build the DashScopeHttpClient.
build() - 类中的方法 io.agentscope.core.model.ExecutionConfig.Builder
Builds a new ExecutionConfig instance.
build() - 类中的方法 io.agentscope.core.model.GeminiChatModel.Builder
Builds the GeminiChatModel instance.
build() - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Builds a new GenerateOptions instance with the set values.
build() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
build() - 类中的方法 io.agentscope.core.model.OllamaChatModel.Builder
 
build() - 类中的方法 io.agentscope.core.model.OllamaHttpClient.Builder
 
build() - 类中的方法 io.agentscope.core.model.OpenAIChatModel.Builder
Builds the OpenAIChatModel instance.
build() - 类中的方法 io.agentscope.core.model.ToolSchema.Builder
Builds a new ToolSchema instance with the set values.
build() - 类中的方法 io.agentscope.core.model.transport.HttpRequest.Builder
Build the HttpRequest.
build() - 类中的方法 io.agentscope.core.model.transport.HttpResponse.Builder
Build the HttpResponse.
build() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
Build the HttpTransportConfig.
build() - 类中的方法 io.agentscope.core.model.transport.JdkHttpTransport.Builder
Build the JdkHttpTransport.
build() - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport.Builder
Build the OkHttpTransport.
build() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig.Builder
Build the ProxyConfig.
build() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketRequest.Builder
Build the WebSocketRequest.
build() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
Build the WebSocketTransportConfig.
build() - 类中的方法 io.agentscope.core.permission.PermissionContextState.Builder
 
build() - 类中的方法 io.agentscope.core.permission.PermissionDecision.Builder
 
build() - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata.Builder
已过时。
Builds a new DocumentMetadata instance with the configured values.
build() - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig.Builder
已过时。
Builds the RetrieveConfig instance.
build() - 类中的方法 io.agentscope.core.ReActAgent.Builder
Builds and returns a new ReActAgent instance with the configured settings.
build() - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
已过时。
Builds the AgentSkill instance.
build() - 类中的方法 io.agentscope.core.state.AgentState.Builder
 
build() - 类中的方法 io.agentscope.core.state.Task.Builder
 
build() - 类中的方法 io.agentscope.core.state.ToolContextState.Builder
 
build() - 类中的方法 io.agentscope.core.tool.SkillToolGroup.Builder
Builds a new SkillToolGroup with the configured settings.
build() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig.Builder
Builds the configuration.
build() - 类中的方法 io.agentscope.core.tool.ToolCallParam.Builder
Builds the ToolCallParam instance.
build() - 类中的方法 io.agentscope.core.tool.ToolExecutionContext.Builder
已过时。
Builds the ToolExecutionContext.
build() - 类中的方法 io.agentscope.core.tool.ToolGroup.Builder
Builds a new ToolGroup with the configured settings.
build() - 类中的方法 io.agentscope.core.tool.ToolkitConfig.Builder
Build the ToolkitConfig.
build(List<? extends MiddlewareBase>, Agent, RuntimeContext, MiddlewareChain.MiddlewareMethod<I>, Function<I, Flux<AgentEvent>>) - 类中的静态方法 io.agentscope.core.middleware.MiddlewareChain
Build a middleware chain that produces Flux<AgentEvent>.
buildAsync() - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Builds an asynchronous MCP client wrapper.
builder() - 类中的静态方法 io.agentscope.core.agent.EventSource
已过时。
 
builder() - 类中的静态方法 io.agentscope.core.agent.RuntimeContext
 
builder() - 类中的静态方法 io.agentscope.core.agent.StreamOptions
Creates a new builder for StreamOptions.
builder() - 类中的静态方法 io.agentscope.core.agent.user.StreamUserInput
已过时。
Create a new builder for StreamUserInput.
builder() - 类中的静态方法 io.agentscope.core.agent.user.UserAgent
已过时。
Create a new builder for UserAgent.
builder() - 类中的静态方法 io.agentscope.core.credential.AnthropicCredential
 
builder() - 类中的静态方法 io.agentscope.core.credential.DashScopeCredential
 
builder() - 类中的静态方法 io.agentscope.core.credential.DeepSeekCredential
 
builder() - 类中的静态方法 io.agentscope.core.credential.GeminiCredential
 
builder() - 类中的静态方法 io.agentscope.core.credential.KimiCredential
 
builder() - 类中的静态方法 io.agentscope.core.credential.OllamaCredential
 
builder() - 类中的静态方法 io.agentscope.core.credential.OpenAICredential
 
builder() - 类中的静态方法 io.agentscope.core.credential.XAICredential
 
builder() - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
builder() - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeInput
 
builder() - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
builder() - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
builder() - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest
 
builder() - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
builder() - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall
 
builder() - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolFunction
 
builder() - 类中的静态方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
builder() - 类中的静态方法 io.agentscope.core.formatter.openai.dto.JsonSchema
 
builder() - 类中的静态方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
 
builder() - 类中的静态方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
builder() - 类中的静态方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
builder() - 类中的静态方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall
 
builder() - 类中的静态方法 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction
 
builder() - 类中的静态方法 io.agentscope.core.formatter.ResponseFormat
 
builder() - 类中的静态方法 io.agentscope.core.interruption.InterruptContext
Create a new builder for InterruptContext.
builder() - 类中的静态方法 io.agentscope.core.message.AssistantMessage
Creates a builder for AssistantMessage with a randomly generated ID and the current timestamp pre-populated.
builder() - 类中的静态方法 io.agentscope.core.message.AudioBlock
Creates a new builder for constructing AudioBlock instances.
builder() - 类中的静态方法 io.agentscope.core.message.Base64Source
Creates a new builder for constructing Base64Source instances.
builder() - 类中的静态方法 io.agentscope.core.message.DataBlock
Creates a new builder for constructing DataBlock instances.
builder() - 类中的静态方法 io.agentscope.core.message.ImageBlock
Creates a new builder for constructing ImageBlock instances.
builder() - 类中的静态方法 io.agentscope.core.message.Msg
Creates a new message builder with a randomly generated ID.
builder() - 类中的静态方法 io.agentscope.core.message.SystemMessage
Creates a builder for SystemMessage with a randomly generated ID and the current timestamp pre-populated.
builder() - 类中的静态方法 io.agentscope.core.message.TextBlock
Creates a new builder for constructing TextBlock instances.
builder() - 类中的静态方法 io.agentscope.core.message.ThinkingBlock
Creates a new builder for constructing ThinkingBlock instances.
builder() - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
Creates a new builder for constructing ToolResultBlock instances.
builder() - 类中的静态方法 io.agentscope.core.message.ToolResultMessage
Creates a builder for ToolResultMessage with a randomly generated ID and the current timestamp pre-populated.
builder() - 类中的静态方法 io.agentscope.core.message.ToolUseBlock
Creates a new builder for constructing a ToolUseBlock.
builder() - 类中的静态方法 io.agentscope.core.message.URLSource
Creates a new builder for constructing URLSource instances.
builder() - 类中的静态方法 io.agentscope.core.message.UserMessage
Creates a builder for UserMessage with a randomly generated ID and the current timestamp pre-populated.
builder() - 类中的静态方法 io.agentscope.core.message.VideoBlock
Creates a new builder for constructing VideoBlock instances.
builder() - 类中的静态方法 io.agentscope.core.model.AnthropicChatModel
Creates a builder for constructing AnthropicChatModel instances.
builder() - 类中的静态方法 io.agentscope.core.model.ChatResponse
Creates a new builder for ChatResponse.
builder() - 类中的静态方法 io.agentscope.core.model.ChatUsage
Creates a new builder for ChatUsage.
builder() - 类中的静态方法 io.agentscope.core.model.DashScopeChatModel
Creates a new builder for DashScopeChatModel.
builder() - 类中的静态方法 io.agentscope.core.model.DashScopeHttpClient
Create a new builder for DashScopeHttpClient.
builder() - 类中的静态方法 io.agentscope.core.model.ExecutionConfig
Creates a new builder for ExecutionConfig.
builder() - 类中的静态方法 io.agentscope.core.model.GeminiChatModel
Creates a new builder for GeminiChatModel.
builder() - 类中的静态方法 io.agentscope.core.model.GenerateOptions
Creates a new builder for GenerateOptions.
builder() - 类中的静态方法 io.agentscope.core.model.ollama.OllamaOptions
 
builder() - 类中的静态方法 io.agentscope.core.model.OllamaChatModel
Creates a new builder for OllamaChatModel.
builder() - 类中的静态方法 io.agentscope.core.model.OllamaHttpClient
Create a new builder for OllamaHttpClient.
builder() - 类中的静态方法 io.agentscope.core.model.OpenAIChatModel
Creates a new builder for OpenAIChatModel.
builder() - 类中的静态方法 io.agentscope.core.model.ToolSchema
Creates a new builder for ToolSchema.
builder() - 类中的静态方法 io.agentscope.core.model.transport.HttpRequest
Create a new builder for HttpRequest.
builder() - 类中的静态方法 io.agentscope.core.model.transport.HttpResponse
Create a new builder for HttpResponse.
builder() - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportConfig
Create a new builder for HttpTransportConfig.
builder() - 类中的静态方法 io.agentscope.core.model.transport.JdkHttpTransport
Create a new builder for JdkHttpTransport.
builder() - 类中的静态方法 io.agentscope.core.model.transport.OkHttpTransport
Create a new builder for OkHttpTransport.
builder() - 类中的静态方法 io.agentscope.core.model.transport.ProxyConfig
Create a new builder for ProxyConfig.
builder() - 类中的静态方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
Create a new builder for WebSocketTransportConfig.
builder() - 类中的静态方法 io.agentscope.core.permission.PermissionContextState
 
builder() - 类中的静态方法 io.agentscope.core.permission.PermissionDecision
 
builder() - 类中的静态方法 io.agentscope.core.rag.model.DocumentMetadata
已过时。
Creates a new builder for constructing DocumentMetadata instances.
builder() - 类中的静态方法 io.agentscope.core.rag.model.RetrieveConfig
已过时。
Creates a new builder instance.
builder() - 类中的静态方法 io.agentscope.core.ReActAgent
 
builder() - 类中的静态方法 io.agentscope.core.skill.AgentSkill
已过时。
Creates a new builder for creating a skill from scratch.
builder() - 类中的静态方法 io.agentscope.core.state.AgentState
 
builder() - 类中的静态方法 io.agentscope.core.state.Task
 
builder() - 类中的静态方法 io.agentscope.core.state.ToolContextState
 
builder() - 类中的静态方法 io.agentscope.core.tool.subagent.SubAgentConfig
Creates a new builder.
builder() - 类中的静态方法 io.agentscope.core.tool.ToolBase
 
builder() - 类中的静态方法 io.agentscope.core.tool.ToolCallParam
Creates a new builder for constructing ToolCallParam instances.
builder() - 类中的静态方法 io.agentscope.core.tool.ToolExecutionContext
已过时。
Creates a new builder for constructing ToolExecutionContext instances.
builder() - 类中的静态方法 io.agentscope.core.tool.ToolGroup
Creates a new builder for constructing ToolGroup instances.
builder() - 类中的静态方法 io.agentscope.core.tool.ToolkitConfig
Create a new builder for ToolkitConfig.
builder(ToolCallParam) - 类中的静态方法 io.agentscope.core.tool.ToolCallParam
Creates a new builder initialized with values from an existing ToolCallParam.
builder(String) - 类中的静态方法 io.agentscope.core.model.transport.websocket.WebSocketRequest
Create a new builder with the specified URL.
builder(Path) - 类中的静态方法 io.agentscope.core.hook.recorder.JsonlTraceExporter
已过时。
 
Builder() - 类的构造器 io.agentscope.core.agent.RuntimeContext.Builder
 
Builder() - 类的构造器 io.agentscope.core.agent.StreamOptions.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeInput.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeToolFunction.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaRequest.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.openai.dto.JsonSchema.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIContentPart.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIMessage.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIToolCall.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction.Builder
 
Builder() - 类的构造器 io.agentscope.core.formatter.ResponseFormat.Builder
 
Builder() - 类的构造器 io.agentscope.core.message.AssistantMessage.Builder
 
Builder() - 类的构造器 io.agentscope.core.message.AudioBlock.Builder
 
Builder() - 类的构造器 io.agentscope.core.message.Base64Source.Builder
 
Builder() - 类的构造器 io.agentscope.core.message.DataBlock.Builder
 
Builder() - 类的构造器 io.agentscope.core.message.ImageBlock.Builder
 
Builder() - 类的构造器 io.agentscope.core.message.Msg.Builder
Creates a new builder with a randomly generated message ID.
Builder() - 类的构造器 io.agentscope.core.message.SystemMessage.Builder
 
Builder() - 类的构造器 io.agentscope.core.message.TextBlock.Builder
 
Builder() - 类的构造器 io.agentscope.core.message.ThinkingBlock.Builder
 
Builder() - 类的构造器 io.agentscope.core.message.ToolResultBlock.Builder
 
Builder() - 类的构造器 io.agentscope.core.message.ToolResultMessage.Builder
 
Builder() - 类的构造器 io.agentscope.core.message.ToolUseBlock.Builder
 
Builder() - 类的构造器 io.agentscope.core.message.URLSource.Builder
 
Builder() - 类的构造器 io.agentscope.core.message.UserMessage.Builder
 
Builder() - 类的构造器 io.agentscope.core.message.VideoBlock.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.AnthropicChatModel.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.ChatResponse.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.ChatUsage.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.DashScopeChatModel.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.DashScopeHttpClient.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.ExecutionConfig.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.GeminiChatModel.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.GenerateOptions.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.OllamaChatModel.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.OllamaHttpClient.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.OpenAIChatModel.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.ToolSchema.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.transport.HttpRequest.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.transport.HttpResponse.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.transport.HttpTransportConfig.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.transport.JdkHttpTransport.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.transport.OkHttpTransport.Builder
 
Builder() - 类的构造器 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
 
Builder() - 类的构造器 io.agentscope.core.rag.model.RetrieveConfig.Builder
已过时。
 
Builder() - 类的构造器 io.agentscope.core.tool.SkillToolGroup.Builder
 
Builder() - 类的构造器 io.agentscope.core.tool.ToolGroup.Builder
 
builderForRole(MsgRole) - 类中的静态方法 io.agentscope.core.message.Msg
Creates a builder for the concrete Msg subtype that matches the given role.
buildGenerateOptions() - 类中的方法 io.agentscope.core.ReActAgent
 
buildRequest(String, List<DashScopeMessage>, boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeChatFormatter
Build a complete DashScopeRequest for the API call.
buildRequest(String, List<DashScopeMessage>, boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeMultiAgentFormatter
Build a complete DashScopeRequest for the API call.
buildRequest(String, List<DashScopeMessage>, boolean, GenerateOptions, GenerateOptions, List<ToolSchema>, ToolChoice) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeChatFormatter
Build a complete DashScopeRequest with full configuration.
buildRequest(String, List<OllamaMessage>, boolean, OllamaOptions, OllamaOptions, List<ToolSchema>, ToolChoice) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaChatFormatter
Build a complete OllamaRequest for the API call.
buildRequest(String, List<OllamaMessage>, boolean, OllamaOptions, OllamaOptions, List<ToolSchema>, ToolChoice) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaMultiAgentFormatter
Build a complete OllamaRequest for the API call.
buildRequest(String, List<OpenAIMessage>, boolean) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIBaseFormatter
Build a basic OpenAIRequest.
buildRequest(String, List<OpenAIMessage>, boolean, GenerateOptions, GenerateOptions, List<ToolSchema>, ToolChoice) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIBaseFormatter
Build a complete OpenAIRequest with full configuration.
buildSync() - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Builds a synchronous MCP client wrapper (blocking operations).
BYPASS - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionMode
 
BYPASS_MULTIAGENT_HISTORY_MERGE - 类中的静态变量 io.agentscope.core.message.MessageMetadataKeys
Metadata key to bypass history merging in multiagent formatters.
bytes() - 记录类中的方法 io.agentscope.core.state.ReadCacheEntry
返回 bytes 记录组件的值。

C

CACHE_CONTROL - 类中的静态变量 io.agentscope.core.message.MessageMetadataKeys
Metadata key to mark a message for prompt caching.
cacheControl(Boolean) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets whether cache control is enabled for prompt caching.
cacheControl(Map<String, String>) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage.Builder
 
cacheControl(Map<String, String>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage.Builder
 
cachedTools - 类中的变量 io.agentscope.core.tool.mcp.McpClientWrapper
Cache of tools available from this MCP server
cacheFile(String, List<String>) - 类中的方法 io.agentscope.core.state.ToolContextState
Insert lines for filePath into the cache, evicting older entries to satisfy both maxCacheFiles and maxCacheBytes.
call() - 接口中的方法 io.agentscope.core.agent.CallableAgent
Continue generation based on current state without adding new input.
call(JsonNode) - 接口中的方法 io.agentscope.core.agent.CallableAgent
Continue generation with JSON schema based on current state.
call(DashScopeRequest, Map<String, String>, Map<String, Object>, Map<String, String>) - 类中的方法 io.agentscope.core.model.DashScopeHttpClient
Make a synchronous API call with additional HTTP parameters.
call(Msg) - 接口中的方法 io.agentscope.core.agent.CallableAgent
Process a single input message and generate a response.
call(Msg...) - 接口中的方法 io.agentscope.core.agent.CallableAgent
Process multiple input messages (varargs) and generate a response.
call(Msg, JsonNode) - 接口中的方法 io.agentscope.core.agent.CallableAgent
Process a single input message with JSON schema and generate a response.
call(Msg, Class<?>) - 接口中的方法 io.agentscope.core.agent.CallableAgent
Process a single input message with structured model and generate a response.
call(Class<?>) - 接口中的方法 io.agentscope.core.agent.CallableAgent
Continue generation with structured model based on current state.
call(String, Object) - 类中的方法 io.agentscope.core.model.OllamaHttpClient
Make a synchronous API call to specific endpoint.
call(String, Object, Class<T>) - 类中的方法 io.agentscope.core.model.OllamaHttpClient
Make a synchronous API call to specific endpoint with custom response type.
call(String, String, OpenAIRequest) - 类中的方法 io.agentscope.core.model.OpenAIClient
Make a synchronous API call.
call(String, String, OpenAIRequest, GenerateOptions) - 类中的方法 io.agentscope.core.model.OpenAIClient
Make a synchronous API call with options.
call(List<Msg>) - 类中的方法 io.agentscope.core.agent.AgentBase
Process a list of input messages and generate a response with hook execution.
call(List<Msg>) - 接口中的方法 io.agentscope.core.agent.CallableAgent
Process a list of input messages and generate a response.
call(List<Msg>, JsonNode) - 类中的方法 io.agentscope.core.agent.AgentBase
Process multiple input messages and generate structured output with hook execution.
call(List<Msg>, JsonNode) - 接口中的方法 io.agentscope.core.agent.CallableAgent
Process multiple input messages with JSON schema and generate a response.
call(List<Msg>, JsonNode, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
 
call(List<Msg>, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
Calls the agent with a per-call RuntimeContext (metadata for hooks and tools, not persisted).
call(List<Msg>, Class<?>) - 类中的方法 io.agentscope.core.agent.AgentBase
Process multiple input messages and generate structured output with hook execution.
call(List<Msg>, Class<?>) - 接口中的方法 io.agentscope.core.agent.CallableAgent
Process multiple input messages with structured model and generate a response.
call(List<Msg>, Class<?>, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
 
CALL_SCOPE_KEY - 类中的静态变量 io.agentscope.core.agent.AgentBase
Reactor Context key carrying the per-call scope object returned by AgentBase.beforeAgentExecution(List, RuntimeContext).
CallableAgent - io.agentscope.core.agent中的接口
Interface for agents that can be called to process messages.
callAgent(AgentBase, List<Msg>, Supplier<Mono<Msg>>) - 接口中的方法 io.agentscope.core.tracing.Tracer
已过时。
 
callApi(String, String, String, Object) - 类中的方法 io.agentscope.core.model.OpenAIClient
Make a generic API call to any OpenAI endpoint with JSON request body.
callApi(String, String, String, Object, GenerateOptions) - 类中的方法 io.agentscope.core.model.OpenAIClient
Make a generic API call to any OpenAI endpoint with JSON request body and custom options.
callAsync(ToolCallParam) - 接口中的方法 io.agentscope.core.tool.AgentTool
Execute the tool with the given parameters (asynchronous).
callAsync(ToolCallParam) - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
 
callAsync(ToolCallParam) - 类中的方法 io.agentscope.core.tool.mcp.McpTool
Executes this MCP tool asynchronously with the given parameters.
callAsync(ToolCallParam) - 类中的方法 io.agentscope.core.tool.SchemaOnlyTool
Throws a ToolSuspendException to signal that this tool requires external execution.
callAsync(ToolCallParam) - 类中的方法 io.agentscope.core.tool.subagent.SubAgentTool
 
callAsync(ToolCallParam) - 类中的方法 io.agentscope.core.tool.ToolBase
Default tool invocation.
callFormat(AbstractBaseFormatter<TReq, TResp, TParams>, List<Msg>, Supplier<List<TReq>>) - 接口中的方法 io.agentscope.core.tracing.Tracer
已过时。
 
callInternal(List<Msg>, RuntimeContext, Function<List<Msg>, Mono<Msg>>) - 类中的方法 io.agentscope.core.agent.AgentBase
Extension point called by every call() overload, allowing subclasses to wrap the entire invocation in additional middleware (e.g. the onAgent chain in ReActAgent).
callInternal(List<Msg>, RuntimeContext, Function<List<Msg>, Mono<Msg>>) - 类中的方法 io.agentscope.core.ReActAgent
Overrides the base-class hook so that every call() variant — including structured output and context-bearing overloads — runs through the same ReActAgent.buildAgentStream(java.util.List<io.agentscope.core.message.Msg>, io.agentscope.core.agent.RuntimeContext, java.util.function.Function<java.util.List<io.agentscope.core.message.Msg>, reactor.core.publisher.Mono<io.agentscope.core.message.Msg>>) core as streamEvents().
callModel(ChatModelBase, List<Msg>, List<ToolSchema>, GenerateOptions, Supplier<Flux<ChatResponse>>) - 接口中的方法 io.agentscope.core.tracing.Tracer
已过时。
 
callSerializationKey(RuntimeContext) - 类中的方法 io.agentscope.core.agent.AgentBase
Returns a key that serializes concurrent calls sharing it: calls with an equal, non-null key run one-at-a-time in FIFO order, while calls with different keys (or a null key) run concurrently.
callSerializationKey(RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
 
callTool(ToolCallParam) - 类中的方法 io.agentscope.core.tool.Toolkit
Execute a tool with the given parameters.
callTool(Toolkit, ToolCallParam, Supplier<Mono<ToolResultBlock>>) - 接口中的方法 io.agentscope.core.tracing.Tracer
已过时。
 
callTool(String, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.mcp.McpAsyncClientWrapper
Invokes a tool on the MCP server asynchronously.
callTool(String, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
Invokes a tool on the MCP server.
callTool(String, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.mcp.McpSyncClientWrapper
Invokes a tool on the MCP server, wrapping the blocking call in a reactive Mono.
callTool(String, Map<String, Object>, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.mcp.McpAsyncClientWrapper
Invokes a tool on the MCP server asynchronously with additional metadata.
callTool(String, Map<String, Object>, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
Invokes a tool on the MCP server.
callTool(String, Map<String, Object>, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.mcp.McpSyncClientWrapper
Invokes a tool on the MCP server, wrapping the blocking call in a reactive Mono.
callTools(List<ToolUseBlock>, ExecutionConfig, Agent, RuntimeContext) - 类中的方法 io.agentscope.core.tool.Toolkit
Execute multiple tools asynchronously with agent-level context (internal use by ReActAgent).
canResolve(String) - 类中的静态方法 io.agentscope.core.model.ModelRegistry
Returns true if ModelRegistry.resolve(String) can find a named model or a matching factory pattern (without creating an instance).
chat(OllamaRequest) - 类中的方法 io.agentscope.core.model.OllamaHttpClient
Make a synchronous Chat API call.
chat(List<Msg>, GenerateOptions) - 类中的方法 io.agentscope.core.model.OllamaChatModel
Chat with the model using default options.
chat(List<Msg>, OllamaOptions) - 类中的方法 io.agentscope.core.model.OllamaChatModel
Chat with the model using Ollama-specific options.
CHAT_COMPLETIONS_ENDPOINT - 类中的静态变量 io.agentscope.core.model.OpenAIClient
Chat completions API endpoint.
CHAT_ENDPOINT - 类中的静态变量 io.agentscope.core.model.OllamaHttpClient
Chat API endpoint.
CHAT_USAGE - 类中的静态变量 io.agentscope.core.message.MessageMetadataKeys
Metadata key for chat usage statistics.
ChatModelBase - io.agentscope.core.model中的类
Abstract base class for all models in the AgentScope framework.
ChatModelBase() - 类的构造器 io.agentscope.core.model.ChatModelBase
 
ChatResponse - io.agentscope.core.model中的类
Represents a chat completion response from a language model.
ChatResponse(String, List<ContentBlock>, ChatUsage, Map<String, Object>, String) - 类的构造器 io.agentscope.core.model.ChatResponse
Creates a new ChatResponse instance.
ChatResponse.Builder - io.agentscope.core.model中的类
Builder for creating ChatResponse instances.
ChatUsage - io.agentscope.core.model中的类
Represents token usage information for chat completion responses.
ChatUsage(int, int, double) - 类的构造器 io.agentscope.core.model.ChatUsage
Creates a new ChatUsage instance.
ChatUsage.Builder - io.agentscope.core.model中的类
Builder for creating ChatUsage instances.
checkAndClearShutdownInterrupted(Agent) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
Check whether the agent was previously interrupted by shutdown, and clear the flag.
checkInterruptedAsync() - 类中的方法 io.agentscope.core.agent.AgentBase
已过时。
No longer needed; ReActAgent uses per-session InterruptControl.
checkPermission(ToolBase, Map<String, Object>) - 类中的方法 io.agentscope.core.permission.PermissionEngine
Resolves a permission decision for the given tool invocation.
checkPermissions(Map<String, Object>, PermissionContextState) - 类中的方法 io.agentscope.core.tool.mcp.McpTool
 
checkPermissions(Map<String, Object>, PermissionContextState) - 类中的方法 io.agentscope.core.tool.ToolBase
Tool self-check invoked by the permission engine when allowRules/askRules neither allow nor reject the call outright.
checkRunning(boolean) - 类中的方法 io.agentscope.core.agent.user.UserAgent.Builder
已过时。
Set the checkRunning flag.
checkRunning(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
已过时。
No longer enforced; per-session serialization handles concurrency.
chunkId(String) - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata.Builder
已过时。
Sets the chunk ID.
citationFormat(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.Builder
 
ClasspathSkillRepository - io.agentscope.core.skill.repository中的类
ClasspathSkillRepository - Loads skills from classpath resources and JAR files.
ClasspathSkillRepository(String) - 类的构造器 io.agentscope.core.skill.repository.ClasspathSkillRepository
Creates a repository for loading skills from resources.
ClasspathSkillRepository(String, ClassLoader) - 类的构造器 io.agentscope.core.skill.repository.ClasspathSkillRepository
Creates a repository for loading skills from resources using a specific ClassLoader.
ClasspathSkillRepository(String, String) - 类的构造器 io.agentscope.core.skill.repository.ClasspathSkillRepository
Creates a repository for loading skills from resources with a custom source.
ClasspathSkillRepository(String, String, ClassLoader) - 类的构造器 io.agentscope.core.skill.repository.ClasspathSkillRepository
Creates a repository for loading skills from resources using a specific ClassLoader.
clear() - 类中的方法 io.agentscope.core.memory.AgentStateMemoryView
已过时。
 
clear() - 类中的方法 io.agentscope.core.memory.InMemoryMemory
已过时。
Clears all messages from memory.
clear() - 接口中的方法 io.agentscope.core.memory.Memory
已过时。
Clears all messages from memory.
clear() - 类中的方法 io.agentscope.core.memory.StateBackedMemory
已过时。
 
clearAll() - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
Wipe everything (useful for testing).
clearAllowedCommands() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
Clear all commands from the whitelist in a thread-safe manner.
clearAllSessions() - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
Clear every session under every user.
clearResources() - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
已过时。
Clears all resources.
client(HttpClient) - 类中的方法 io.agentscope.core.model.transport.JdkHttpTransport.Builder
Use an existing HttpClient instance.
client(OkHttpClient) - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport.Builder
Use an existing OkHttpClient instance.
clientOptions(ClientOptions) - 类中的方法 io.agentscope.core.model.GeminiChatModel.Builder
Sets the client options.
close() - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter
已过时。
 
close() - 类中的方法 io.agentscope.core.model.GeminiChatModel
Close the Gemini client.
close() - 类中的方法 io.agentscope.core.model.OllamaHttpClient
Close the transport.
close() - 接口中的方法 io.agentscope.core.model.transport.HttpTransport
Close the transport and release any resources.
close() - 类中的方法 io.agentscope.core.model.transport.JdkHttpTransport
 
close() - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport
 
close() - 类中的方法 io.agentscope.core.model.transport.websocket.JdkWebSocketConnection
 
close() - 类中的方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketConnection
 
close() - 接口中的方法 io.agentscope.core.model.transport.websocket.WebSocketConnection
Close the connection.
close() - 类中的方法 io.agentscope.core.ReActAgent
 
close() - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
Cleans up any resources used by this repository.
close() - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
Closes the file system (if in JAR environment).
close() - 接口中的方法 io.agentscope.core.state.AgentStateStore
Clean up any resources used by this store.
close() - 类中的方法 io.agentscope.core.tool.mcp.McpAsyncClientWrapper
Closes the MCP client connection and releases all resources.
close() - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
Closes this MCP client and releases all resources.
close() - 类中的方法 io.agentscope.core.tool.mcp.McpSyncClientWrapper
Closes the MCP client connection and releases all resources.
CloseInfo - io.agentscope.core.model.transport.websocket中的记录类
WebSocket connection close information.
CloseInfo(int, String) - 记录类的构造器 io.agentscope.core.model.transport.websocket.CloseInfo
创建 CloseInfo 记录类的实例。
code() - 记录类中的方法 io.agentscope.core.model.transport.websocket.CloseInfo
返回 code 记录组件的值。
CommandValidator - io.agentscope.core.tool.coding中的接口
Interface for validating shell commands before execution.
CommandValidator.ValidationResult - io.agentscope.core.tool.coding中的类
Result of command validation.
COMPLETED - 枚举类 中的枚举常量 io.agentscope.core.state.Task.State
 
CompletionTokensDetails() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIUsage.CompletionTokensDetails
 
CompositeAgentException - io.agentscope.core.exception中的异常错误类
 
CompositeAgentException(String, List<CompositeAgentException.AgentExceptionInfo>) - 异常错误类的构造器 io.agentscope.core.exception.CompositeAgentException
 
CompositeAgentException.AgentExceptionInfo - io.agentscope.core.exception中的记录类
 
computeHash(List<? extends State>) - 类中的静态方法 io.agentscope.core.state.ListHashUtil
Compute a hash value for a list of state objects.
concurrencySafe() - 批注接口 中的元素 io.agentscope.core.tool.Tool
Whether the tool is safe to invoke concurrently with itself.
concurrencySafe(boolean) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
 
config(HttpTransportConfig) - 类中的方法 io.agentscope.core.model.transport.JdkHttpTransport.Builder
Set the transport configuration.
config(HttpTransportConfig) - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport.Builder
Set the transport configuration.
Configuration Merging - 类 io.agentscope.core.model.ExecutionConfig中的搜索标记
节
CONFIRM_SINK_KEY - 类中的静态变量 io.agentscope.core.ReActAgent
已过时。
Permission HITL no longer uses a Reactor Sink. Confirm results are now delivered via a second agent.call(msgs) carrying a ConfirmResult payload — see applyConfirmResults. This constant is retained as a compile-time marker and will be removed in a future release.
ConfirmResult - io.agentscope.core.event中的类
Represents the result of a single user confirmation decision for a tool call.
ConfirmResult(boolean, ToolUseBlock) - 类的构造器 io.agentscope.core.event.ConfirmResult
Convenience constructor without rules.
ConfirmResult(boolean, ToolUseBlock, List<PermissionRule>) - 类的构造器 io.agentscope.core.event.ConfirmResult
 
connect(WebSocketRequest, Class<T>) - 类中的方法 io.agentscope.core.model.transport.websocket.JdkWebSocketTransport
 
connect(WebSocketRequest, Class<T>) - 类中的方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketTransport
 
connect(WebSocketRequest, Class<T>) - 接口中的方法 io.agentscope.core.model.transport.WebSocketTransport
Establish a WebSocket connection.
connectTimeout(Duration) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
Set the connect timeout.
connectTimeout(Duration) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketRequest.Builder
Set the connection timeout.
connectTimeout(Duration) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
Set the connect timeout.
consumeSystemMsgAfterPreCall(Msg, Object) - 类中的方法 io.agentscope.core.agent.AgentBase
Called after PreCallEvent hooks have run, with the final system message value.
consumeSystemMsgAfterPreCall(Msg, Object) - 类中的方法 io.agentscope.core.ReActAgent
 
contains(Class<?>) - 接口中的方法 io.agentscope.core.tool.ContextStore
已过时。
Checks whether any object of the specified type exists (regardless of key).
contains(Class<?>) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
已过时。
Checks whether an object of the specified type exists in any store (regardless of key).
contains(String, Class<?>) - 接口中的方法 io.agentscope.core.tool.ContextStore
已过时。
Checks whether an object with the specified key and type exists.
contains(String, Class<?>) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
已过时。
Checks whether an object with the specified key and type exists in any store.
containsMultipleCommands(String) - 接口中的方法 io.agentscope.core.tool.coding.CommandValidator
Check if the command contains multiple command separators.
containsMultipleCommands(String) - 类中的方法 io.agentscope.core.tool.coding.UnixCommandValidator
Check if the command contains multiple command separators outside of quotes.
containsMultipleCommands(String) - 类中的方法 io.agentscope.core.tool.coding.WindowsCommandValidator
Check if the command contains multiple command separators outside of quotes.
containsTool(String) - 类中的方法 io.agentscope.core.tool.ToolGroup
Checks if this group contains a specific tool.
content - 类中的变量 io.agentscope.core.message.Msg.Builder
 
content(ContentBlock) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
 
content(ContentBlock) - 类中的方法 io.agentscope.core.message.Msg.Builder
Set content from a single content block (convenience method).
content(ContentBlock) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
 
content(ContentBlock) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
 
content(ContentBlock) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
 
content(ContentBlock) - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata.Builder
已过时。
Sets the content block.
content(ContentBlock...) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
 
content(ContentBlock...) - 类中的方法 io.agentscope.core.message.Msg.Builder
Set content from varargs content blocks (convenience method).
content(ContentBlock...) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
 
content(ContentBlock...) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
 
content(ContentBlock...) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
 
content(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage.Builder
 
content(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage.Builder
 
content(String) - 类中的方法 io.agentscope.core.message.ToolUseBlock.Builder
Sets the raw content for streaming tool calls.
content(List<DashScopeContentPart>) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage.Builder
 
content(List<OpenAIContentPart>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage.Builder
 
content(List<ContentBlock>) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
 
content(List<ContentBlock>) - 类中的方法 io.agentscope.core.message.Msg.Builder
Set content from a list of content blocks.
content(List<ContentBlock>) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
 
content(List<ContentBlock>) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
 
content(List<ContentBlock>) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
 
content(List<ContentBlock>) - 类中的方法 io.agentscope.core.model.ChatResponse.Builder
Sets the content blocks for the response.
ContentBlock - io.agentscope.core.message中的类
Base sealed class for all content blocks in messages.
ContentBlock() - 类的构造器 io.agentscope.core.message.ContentBlock
 
context(ToolExecutionContext) - 类中的方法 io.agentscope.core.tool.ToolCallParam.Builder
context(List<Msg>) - 类中的方法 io.agentscope.core.state.AgentState.Builder
 
CONTEXT_KEY - 接口中的静态变量 io.agentscope.core.agent.SubagentEventBus
Reactor Context key under which the bus instance is stored.
CONTEXT_KEY - 接口中的静态变量 io.agentscope.core.event.AgentEventEmitter
Reactor Context key under which the emitter instance is stored.
contextMutable() - 类中的方法 io.agentscope.core.state.AgentState
Live, mutable handle for components that append/replace messages in place.
contextSize() - 记录类中的方法 io.agentscope.core.credential.ModelCard
返回 contextSize 记录组件的值。
ContextStore - io.agentscope.core.tool中的接口
已过时。
Part of the ToolExecutionContext layer which is superseded by RuntimeContext.
conversationHistory(List<Msg>) - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig.Builder
已过时。
Sets the conversation history for context-aware retrieval.
convert(Object, Type) - 类中的方法 io.agentscope.core.tool.DefaultToolResultConverter
 
convert(Object, Type) - 接口中的方法 io.agentscope.core.tool.ToolResultConverter
Convert tool call result to ToolResultBlock.
convert(List<Msg>) - 类中的方法 io.agentscope.core.formatter.anthropic.AnthropicMessageConverter
Convert list of Msg to list of Anthropic MessageParam.
convertAudioBlockToContentPart(AudioBlock) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeMediaConverter
Convert AudioBlock to DashScopeContentPart.
convertAudioBlockToUrl(AudioBlock) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeMediaConverter
Convert AudioBlock to URL string for DashScope API.
convertCallToolResult(McpSchema.CallToolResult) - 类中的静态方法 io.agentscope.core.tool.mcp.McpContentConverter
Converts an MCP CallToolResult to an AgentScope ToolResultBlock.
convertContent(McpSchema.Content) - 类中的静态方法 io.agentscope.core.tool.mcp.McpContentConverter
Converts a single MCP Content to an AgentScope ContentBlock.
convertContentList(List<McpSchema.Content>) - 类中的静态方法 io.agentscope.core.tool.mcp.McpContentConverter
Converts a list of MCP Content to AgentScope ContentBlocks.
converter() - 批注接口 中的元素 io.agentscope.core.tool.Tool
Custom result converter for this tool.
convertImageBlock(ImageBlock) - 类中的方法 io.agentscope.core.formatter.anthropic.AnthropicMediaConverter
Convert ImageBlock to Anthropic ImageBlockParam.
convertImageBlockToBase64(ImageBlock) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaMediaConverter
Convert ImageBlock to Base64 string for Ollama API.
convertImageBlockToContentPart(ImageBlock) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeMediaConverter
Convert ImageBlock to DashScopeContentPart.
convertImageBlockToUrl(ImageBlock) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeMediaConverter
Convert ImageBlock to URL string for DashScope API.
convertImageSourceToUrl(Source) - 类中的静态方法 io.agentscope.core.formatter.openai.OpenAIConverterUtils
Convert an image source to a URL string.
convertJsonTypeToGeminiType(String) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiToolsHelper
Convert JSON Schema type string to Gemini Type.
convertMcpSchemaToParameters(McpSchema.JsonSchema, Set<String>) - 类中的静态方法 io.agentscope.core.tool.mcp.McpTool
Converts MCP JsonSchema to AgentScope parameters format.
convertMessage(Msg) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaMessageConverter
Converts an AgentScope Msg object to an OllamaMessage object.
convertMessages(List<Msg>) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiMessageConverter
Convert a list of Msg objects to Gemini API Content objects.
convertParametersToSchema(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiToolsHelper
Convert parameters map to Gemini Schema object.
convertToGeminiTool(List<ToolSchema>) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiToolsHelper
Convert AgentScope ToolSchema list to Gemini Tool object.
convertToInlineDataPart(AudioBlock) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiMediaConverter
Convert AudioBlock to Gemini Part with inline data.
convertToInlineDataPart(ImageBlock) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiMediaConverter
Convert ImageBlock to Gemini Part with inline data.
convertToInlineDataPart(VideoBlock) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiMediaConverter
Convert VideoBlock to Gemini Part with inline data.
convertToMessage(Msg, boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeMessageConverter
Convert single Msg to DashScopeMessage.
convertToMessage(Msg, boolean) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIMessageConverter
Convert single Msg to OpenAI DTO Message.
convertToolCalls(List<ToolUseBlock>) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeToolsHelper
Convert ToolUseBlock list to DashScope ToolCall format.
convertToolCalls(List<ToolUseBlock>) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaToolsHelper
Convert ToolUseBlock list to OllamaToolCall list.
convertToolChoice(ToolChoice) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeToolsHelper
Convert tool choice to DashScope format.
convertToolChoice(ToolChoice) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiToolsHelper
Create Gemini ToolConfig from AgentScope ToolChoice.
convertToolResultToString(List<ContentBlock>) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
Convert tool result output to string representation.
convertToolResultToString(List<ContentBlock>) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaMultiAgentFormatter
Convert list of content blocks (usually from tool result) to string.
convertTools(List<ToolSchema>) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeToolsHelper
Convert tool schemas to DashScope tool list.
convertTools(List<ToolSchema>) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaToolsHelper
Converts a list of AgentScope ToolSchema objects to OllamaTool objects.
convertValue(Object, TypeReference<T>) - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
 
convertValue(Object, TypeReference<T>) - 接口中的方法 io.agentscope.core.util.JsonCodec
Convert an object to another generic type.
convertValue(Object, Class<T>) - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
 
convertValue(Object, Class<T>) - 接口中的方法 io.agentscope.core.util.JsonCodec
Convert an object to another type.
convertValue(Object, Type) - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
 
convertValue(Object, Type) - 接口中的方法 io.agentscope.core.util.JsonCodec
Convert an object to another type using Java reflection Type.
convertVideoBlockToContentPart(VideoBlock) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeMediaConverter
Convert VideoBlock to DashScopeContentPart.
convertVideoBlockToUrl(VideoBlock) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeMediaConverter
Convert VideoBlock to URL string for DashScope API.
convertVideoSourceToUrl(Source) - 类中的静态方法 io.agentscope.core.formatter.openai.OpenAIConverterUtils
Convert a video source to a URL string.
copy() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
copy() - 类中的方法 io.agentscope.core.tool.SkillToolGroup
 
copy() - 类中的方法 io.agentscope.core.tool.ToolGroup
Creates a deep copy of this tool group, preserving the concrete type for subclasses.
copy() - 类中的方法 io.agentscope.core.tool.Toolkit
Create a deep copy of this toolkit.
create() - 类中的静态方法 io.agentscope.core.model.transport.websocket.JdkWebSocketTransport
Create a client with default configuration.
create() - 类中的静态方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketTransport
Create a client with default configuration.
create(WebSocketTransportConfig) - 类中的静态方法 io.agentscope.core.model.transport.websocket.JdkWebSocketTransport
Create a client with custom configuration.
create(WebSocketTransportConfig) - 类中的静态方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketTransport
Create a client with custom configuration.
create(Integer, String, String, String) - 异常错误类中的静态方法 io.agentscope.core.model.exception.OpenAIException
Factory method to create appropriate exception subclass based on status code.
create(String) - 接口中的方法 io.agentscope.core.model.ModelRegistry.ModelFactory
 
create(String) - 类中的静态方法 io.agentscope.core.tool.mcp.McpClientBuilder
Creates a new MCP client builder with the specified name.
create(HttpClient) - 类中的静态方法 io.agentscope.core.model.transport.websocket.JdkWebSocketTransport
Create a client with custom HttpClient.
create(OkHttpClient) - 类中的静态方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketTransport
Create a client with custom OkHttpClient.
createdAt(String) - 类中的方法 io.agentscope.core.state.Task.Builder
 
createFrom(String, Map<String, String>) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
已过时。
Creates an AgentSkill from markdown with YAML frontmatter.
createFrom(String, Map<String, String>, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
已过时。
Creates an AgentSkill from markdown with YAML frontmatter and custom source.
createFromZip(byte[]) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
已过时。
Creates an AgentSkill from a skill package zip.
createFromZip(byte[], String) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
已过时。
Creates an AgentSkill from a skill package zip with custom source.
createFromZip(byte[], String, Charset) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
已过时。
Creates an AgentSkill from a skill package zip with custom source and charset.
createFromZip(InputStream) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
已过时。
Creates an AgentSkill from a skill package zip input stream.
createFromZip(InputStream, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
已过时。
Creates an AgentSkill from a skill package zip input stream with custom source.
createFromZip(InputStream, String, Charset) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
已过时。
Creates an AgentSkill from a skill package zip input stream with custom source and charset.
createFromZip(Path) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
已过时。
Creates an AgentSkill from a skill package zip file path.
createFromZip(Path, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
已过时。
Creates an AgentSkill from a skill package zip file path with custom source.
createFromZip(Path, String, Charset) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
已过时。
Creates an AgentSkill from a skill package zip file path with custom source and charset.
createFromZip(Path, Charset) - 类中的静态方法 io.agentscope.core.skill.util.SkillUtil
已过时。
Creates an AgentSkill from a skill package zip file path using the given charset.
createSkillToolGroup(String, String, boolean, String) - 类中的方法 io.agentscope.core.tool.Toolkit
Create a SkillToolGroup bound to a specific skill.
createToolGroup(String, String) - 类中的方法 io.agentscope.core.tool.Toolkit
Create a new tool group (active by default, META scope).
createToolGroup(String, String, boolean) - 类中的方法 io.agentscope.core.tool.Toolkit
Create a new tool group with specified activation status and default META scope.
createToolGroup(String, String, boolean, ToolGroupScope) - 类中的方法 io.agentscope.core.tool.Toolkit
Create a new tool group with specified activation status and scope.
CredentialBase - io.agentscope.core.credential中的类
Credential metadata for a model provider.
CredentialBase(String) - 类的构造器 io.agentscope.core.credential.CredentialBase
 
credentials(GoogleCredentials) - 类中的方法 io.agentscope.core.model.GeminiChatModel.Builder
Sets the Google credentials (for Vertex AI).
curIter(int) - 类中的方法 io.agentscope.core.state.AgentState.Builder
 
currentTimestamp() - 类中的静态方法 io.agentscope.core.message.Msg
Returns the current wall-clock timestamp in this class's canonical format.
CUSTOM - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
CustomEvent - io.agentscope.core.event中的类
Generic extensible event for signals that don't fit a specific AgentEvent subtype.
CustomEvent(String) - 类的构造器 io.agentscope.core.event.CustomEvent
 
CustomEvent(String, String, String, Map<String, Object>) - 类的构造器 io.agentscope.core.event.CustomEvent
 
CustomEvent(String, Map<String, Object>) - 类的构造器 io.agentscope.core.event.CustomEvent
 
customizeSseClient(Consumer<HttpClient.Builder>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Customizes the HTTP client for SSE transport (only applicable after calling sseTransport).
customizeStreamableHttpClient(Consumer<HttpClient.Builder>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Customizes the HTTP client for StreamableHTTP transport (only applicable after calling streamableHttpTransport).

D

DANGEROUS_COMMANDS - 类中的静态变量 io.agentscope.core.tool.ToolDangerousPathConstants
Shell command fragments that always require explicit user approval.
dangerousDirectories - 类中的变量 io.agentscope.core.tool.ToolBase
Sensitive directory names; segment-level matching applies to absolute paths.
dangerousDirectories() - 批注接口 中的元素 io.agentscope.core.tool.Tool
Sensitive directory names whose presence in any path segment marks the path dangerous.
dangerousDirectories(List<String>) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
 
dangerousFiles - 类中的变量 io.agentscope.core.tool.ToolBase
Sensitive files; subclasses may replace this list to widen or narrow protection.
dangerousFiles() - 批注接口 中的元素 io.agentscope.core.tool.Tool
Sensitive filenames that must require explicit permission for this tool.
dangerousFiles(List<String>) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
 
dashscopeAudioToText(String, String, Integer) - 类中的方法 io.agentscope.core.tool.multimodal.DashScopeMultiModalTool
Convert the given audio to text.
DashScopeChatFormatter - io.agentscope.core.formatter.dashscope中的类
Formatter for DashScope Conversation/Generation APIs.
DashScopeChatFormatter() - 类的构造器 io.agentscope.core.formatter.dashscope.DashScopeChatFormatter
 
DashScopeChatModel - io.agentscope.core.model中的类
DashScope Chat Model using native HTTP API.
DashScopeChatModel(String, String, boolean, Boolean, Boolean, EndpointType, GenerateOptions, String, Formatter<DashScopeMessage, DashScopeResponse, DashScopeRequest>, HttpTransport, String, String) - 类的构造器 io.agentscope.core.model.DashScopeChatModel
Creates a new DashScope chat model instance with explicit API type.
DashScopeChatModel(String, String, boolean, Boolean, Boolean, GenerateOptions, String, Formatter<DashScopeMessage, DashScopeResponse, DashScopeRequest>, HttpTransport, String, String) - 类的构造器 io.agentscope.core.model.DashScopeChatModel
Creates a new DashScope chat model instance with automatic API type detection.
DashScopeChatModel.Builder - io.agentscope.core.model中的类
 
DashScopeChoice - io.agentscope.core.formatter.dashscope.dto中的类
DashScope choice DTO.
DashScopeChoice() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeChoice
 
DashScopeContentPart - io.agentscope.core.formatter.dashscope.dto中的类
DashScope content part DTO for multimodal messages.
DashScopeContentPart() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
DashScopeContentPart.Builder - io.agentscope.core.formatter.dashscope.dto中的类
 
DashScopeConversationMerger - io.agentscope.core.formatter.dashscope中的类
Merges multi-agent conversation messages for DashScope API.
DashScopeConversationMerger(String) - 类的构造器 io.agentscope.core.formatter.dashscope.DashScopeConversationMerger
Create a DashScopeConversationMerger with custom conversation history prompt.
DashScopeCredential - io.agentscope.core.credential中的类
Credential for the DashScope (Alibaba Cloud) OpenAI-compatible API.
DashScopeCredential.Builder - io.agentscope.core.credential中的类
 
DashScopeEncryptionUtils - io.agentscope.core.model中的类
Encryption utilities for secure DashScope API access.
DashScopeEncryptionUtils.EncryptionException - io.agentscope.core.model中的异常错误类
Exception thrown when encryption/decryption operations fail.
dashscopeFirstAndLastFrameImageToVideo(String, String, String, String, String, String, String, Boolean, Boolean, Integer) - 类中的方法 io.agentscope.core.tool.multimodal.DashScopeMultiModalTool
Generate video transitioning from a first frame to a last frame and an optional text prompt.
DashScopeFunction - io.agentscope.core.formatter.dashscope.dto中的类
DashScope function call DTO.
DashScopeFunction() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeFunction
 
DashScopeFunction(String, String) - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeFunction
 
DashScopeHttpClient - io.agentscope.core.model中的类
HTTP client for DashScope API.
DashScopeHttpClient(HttpTransport, String, String, String, String) - 类的构造器 io.agentscope.core.model.DashScopeHttpClient
Create a new DashScopeHttpClient.
DashScopeHttpClient(String) - 类的构造器 io.agentscope.core.model.DashScopeHttpClient
Create a new DashScopeHttpClient with default transport and base URL.
DashScopeHttpClient(String, String) - 类的构造器 io.agentscope.core.model.DashScopeHttpClient
Create a new DashScopeHttpClient.
DashScopeHttpClient(String, String, String, String) - 类的构造器 io.agentscope.core.model.DashScopeHttpClient
Create a new DashScopeHttpClient with default transport from factory.
DashScopeHttpClient.Builder - io.agentscope.core.model中的类
Builder for DashScopeHttpClient.
DashScopeHttpClient.DashScopeHttpException - io.agentscope.core.model中的异常错误类
Exception thrown when DashScope HTTP operations fail.
DashScopeHttpClient.PublicKeyResult - io.agentscope.core.model中的记录类
Result of fetching a public key from DashScope API.
DashScopeHttpException(String) - 异常错误类的构造器 io.agentscope.core.model.DashScopeHttpClient.DashScopeHttpException
 
DashScopeHttpException(String, int, String) - 异常错误类的构造器 io.agentscope.core.model.DashScopeHttpClient.DashScopeHttpException
 
DashScopeHttpException(String, String, String) - 异常错误类的构造器 io.agentscope.core.model.DashScopeHttpClient.DashScopeHttpException
 
DashScopeHttpException(String, Throwable) - 异常错误类的构造器 io.agentscope.core.model.DashScopeHttpClient.DashScopeHttpException
 
dashscopeImageToText(List<String>, String, String) - 类中的方法 io.agentscope.core.tool.multimodal.DashScopeMultiModalTool
Generate text based on the given images.
dashscopeImageToVideo(String, String, String, String, String, String, String, Integer, String, Boolean, Boolean, Boolean, Integer) - 类中的方法 io.agentscope.core.tool.multimodal.DashScopeMultiModalTool
Generate a video based on a single input image (first frame) and an optional text prompt.
DashScopeInput - io.agentscope.core.formatter.dashscope.dto中的类
DashScope API input container DTO.
DashScopeInput() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeInput
 
DashScopeInput(List<DashScopeMessage>) - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeInput
 
DashScopeInput.Builder - io.agentscope.core.formatter.dashscope.dto中的类
 
DashScopeMediaConverter - io.agentscope.core.formatter.dashscope中的类
Handles media content conversion for DashScope API.
DashScopeMediaConverter() - 类的构造器 io.agentscope.core.formatter.dashscope.DashScopeMediaConverter
 
DashScopeMessage - io.agentscope.core.formatter.dashscope.dto中的类
DashScope message DTO.
DashScopeMessage() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
DashScopeMessage.Builder - io.agentscope.core.formatter.dashscope.dto中的类
 
DashScopeMessageConverter - io.agentscope.core.formatter.dashscope中的类
Converts AgentScope Msg objects to DashScope DTO message types.
DashScopeMessageConverter(Function<List<ContentBlock>, String>) - 类的构造器 io.agentscope.core.formatter.dashscope.DashScopeMessageConverter
 
DashScopeMultiAgentFormatter - io.agentscope.core.formatter.dashscope中的类
DashScope formatter for multi-agent conversations.
DashScopeMultiAgentFormatter() - 类的构造器 io.agentscope.core.formatter.dashscope.DashScopeMultiAgentFormatter
Create a DashScopeMultiAgentFormatter with default conversation history prompt.
DashScopeMultiAgentFormatter(String) - 类的构造器 io.agentscope.core.formatter.dashscope.DashScopeMultiAgentFormatter
Create a DashScopeMultiAgentFormatter with custom conversation history prompt.
DashScopeMultiModalTool - io.agentscope.core.tool.multimodal中的类
DashScope multimodal tool.
DashScopeMultiModalTool(String) - 类的构造器 io.agentscope.core.tool.multimodal.DashScopeMultiModalTool
 
DashScopeOutput - io.agentscope.core.formatter.dashscope.dto中的类
DashScope output DTO.
DashScopeOutput() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeOutput
 
DashScopeParameters - io.agentscope.core.formatter.dashscope.dto中的类
DashScope API parameters DTO.
DashScopeParameters() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
DashScopeParameters.Builder - io.agentscope.core.formatter.dashscope.dto中的类
 
DashScopePublicKeyResponse - io.agentscope.core.formatter.dashscope.dto中的类
DashScope public key response DTO.
DashScopePublicKeyResponse() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopePublicKeyResponse
 
DashScopePublicKeyResponse.PublicKeyData - io.agentscope.core.formatter.dashscope.dto中的类
Public key data containing the key ID and key value.
DashScopeRequest - io.agentscope.core.formatter.dashscope.dto中的类
DashScope API request DTO.
DashScopeRequest() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest
 
DashScopeRequest(String, DashScopeInput, DashScopeParameters) - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest
 
DashScopeRequest.Builder - io.agentscope.core.formatter.dashscope.dto中的类
 
DashScopeResponse - io.agentscope.core.formatter.dashscope.dto中的类
DashScope API response DTO.
DashScopeResponse() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeResponse
 
DashScopeResponseParser - io.agentscope.core.formatter.dashscope中的类
Parses DashScope API responses to AgentScope ChatResponse.
DashScopeResponseParser() - 类的构造器 io.agentscope.core.formatter.dashscope.DashScopeResponseParser
 
DashScopeSearchOptions - io.agentscope.core.formatter.dashscope.dto中的类
DashScope search options DTO.
DashScopeSearchOptions() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
DashScopeSearchOptions.Builder - io.agentscope.core.formatter.dashscope.dto中的类
 
DashScopeSearchOptions.SearchStrategy - io.agentscope.core.formatter.dashscope.dto中的枚举类
 
dashscopeTextToAudio(String, String, String, String, Integer) - 类中的方法 io.agentscope.core.tool.multimodal.DashScopeMultiModalTool
Convert the given text to audio.
dashscopeTextToImage(String, String, Integer, String, Boolean) - 类中的方法 io.agentscope.core.tool.multimodal.DashScopeMultiModalTool
Generate image(s) based on the given prompt, and return image url(s) or base64 data.
dashscopeTextToVideo(String, String, String, String, String, Integer, String, Boolean, Boolean, Integer) - 类中的方法 io.agentscope.core.tool.multimodal.DashScopeMultiModalTool
Generate video based on the given prompt.
DashScopeTool - io.agentscope.core.formatter.dashscope.dto中的类
DashScope tool definition DTO.
DashScopeTool() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeTool
 
DashScopeTool(DashScopeToolFunction) - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeTool
 
DashScopeToolCall - io.agentscope.core.formatter.dashscope.dto中的类
DashScope tool call DTO.
DashScopeToolCall() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall
 
DashScopeToolCall.Builder - io.agentscope.core.formatter.dashscope.dto中的类
 
DashScopeToolFunction - io.agentscope.core.formatter.dashscope.dto中的类
DashScope tool function definition DTO.
DashScopeToolFunction() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeToolFunction
 
DashScopeToolFunction(String, String, Map<String, Object>) - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeToolFunction
 
DashScopeToolFunction.Builder - io.agentscope.core.formatter.dashscope.dto中的类
 
DashScopeToolsHelper - io.agentscope.core.formatter.dashscope中的类
Handles tool registration and options application for DashScope API.
DashScopeToolsHelper() - 类的构造器 io.agentscope.core.formatter.dashscope.DashScopeToolsHelper
 
DashScopeUsage - io.agentscope.core.formatter.dashscope.dto中的类
DashScope usage statistics DTO.
DashScopeUsage() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopeUsage
 
dashscopeVideoToText(String, String, String, Double) - 类中的方法 io.agentscope.core.tool.multimodal.DashScopeMultiModalTool
Analyze video and generate a text description or answer questions based on the video content.
data(String) - 类中的方法 io.agentscope.core.message.Base64Source.Builder
Sets the Base64-encoded media data.
DATA_BLOCK_DELTA - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
DATA_BLOCK_END - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
DATA_BLOCK_START - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
DataBlock - io.agentscope.core.message中的类
Unified data block for arbitrary binary media (image / audio / video / file).
DataBlock.Builder - io.agentscope.core.message中的类
Builder for constructing DataBlock instances.
DataBlockDeltaEvent - io.agentscope.core.event中的类
 
DataBlockDeltaEvent(String, String, String) - 类的构造器 io.agentscope.core.event.DataBlockDeltaEvent
 
DataBlockDeltaEvent(String, String, String, String, String) - 类的构造器 io.agentscope.core.event.DataBlockDeltaEvent
 
DataBlockEndEvent - io.agentscope.core.event中的类
 
DataBlockEndEvent(String, String) - 类的构造器 io.agentscope.core.event.DataBlockEndEvent
 
DataBlockEndEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.DataBlockEndEvent
 
DataBlockStartEvent - io.agentscope.core.event中的类
 
DataBlockStartEvent(String, String) - 类的构造器 io.agentscope.core.event.DataBlockStartEvent
 
DataBlockStartEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.DataBlockStartEvent
 
deactivateAllSkills() - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Deactivates all skills.
decisionReason(String) - 类中的方法 io.agentscope.core.permission.PermissionDecision.Builder
 
decryptWithAes(SecretKey, byte[], String) - 类中的静态方法 io.agentscope.core.model.DashScopeEncryptionUtils
Decrypt data using AES-GCM.
DeepSeekCredential - io.agentscope.core.credential中的类
Credential for the DeepSeek API.
DeepSeekCredential.Builder - io.agentscope.core.credential中的类
 
DeepSeekFormatter - io.agentscope.core.formatter.openai中的类
Formatter for DeepSeek Chat models (deepseek-chat, deepseek-coder).
DeepSeekFormatter() - 类的构造器 io.agentscope.core.formatter.openai.DeepSeekFormatter
 
DeepSeekFormatter(boolean) - 类的构造器 io.agentscope.core.formatter.openai.DeepSeekFormatter
Create a DeepSeek formatter with optional empty user message appending.
DeepSeekMultiAgentFormatter - io.agentscope.core.formatter.openai中的类
Multi-agent formatter for DeepSeek Chat models.
DeepSeekMultiAgentFormatter() - 类的构造器 io.agentscope.core.formatter.openai.DeepSeekMultiAgentFormatter
 
DeepSeekMultiAgentFormatter(boolean) - 类的构造器 io.agentscope.core.formatter.openai.DeepSeekMultiAgentFormatter
Create a DeepSeek multi-agent formatter with optional empty user message appending.
DeepSeekMultiAgentFormatter(String) - 类的构造器 io.agentscope.core.formatter.openai.DeepSeekMultiAgentFormatter
 
DeepSeekMultiAgentFormatter(String, boolean) - 类的构造器 io.agentscope.core.formatter.openai.DeepSeekMultiAgentFormatter
Create a DeepSeek multi-agent formatter with custom conversation history prompt and optional empty user message appending.
DEFAULT - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionMode
 
DEFAULT - 记录类中的静态变量 io.agentscope.core.shutdown.GracefulShutdownConfig
Default configuration instance.
DEFAULT_AGENT_SKILL_INSTRUCTION - 类中的静态变量 io.agentscope.core.skill.AgentSkillPromptProvider
已过时。
 
DEFAULT_BASE_URL - 类中的静态变量 io.agentscope.core.credential.DashScopeCredential
 
DEFAULT_BASE_URL - 类中的静态变量 io.agentscope.core.credential.DeepSeekCredential
 
DEFAULT_BASE_URL - 类中的静态变量 io.agentscope.core.credential.KimiCredential
 
DEFAULT_BASE_URL - 类中的静态变量 io.agentscope.core.model.DashScopeHttpClient
Default base URL for DashScope API.
DEFAULT_BASE_URL - 类中的静态变量 io.agentscope.core.model.OllamaHttpClient
Default base URL for Ollama API.
DEFAULT_BASE_URL - 类中的静态变量 io.agentscope.core.model.OpenAIClient
Default base URL for OpenAI API.
DEFAULT_BASE_URL_WITH_VERSION - 类中的静态变量 io.agentscope.core.model.OpenAIClient
Default base URL with version.
DEFAULT_CODE_EXECUTION_INSTRUCTION - 类中的静态变量 io.agentscope.core.skill.AgentSkillPromptProvider
已过时。
 
DEFAULT_CONNECT_TIMEOUT - 类中的静态变量 io.agentscope.core.model.transport.HttpTransportConfig
Default connect timeout: 30 seconds.
DEFAULT_CONNECT_TIMEOUT - 类中的静态变量 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
Default connect timeout: 30 seconds.
DEFAULT_DANGEROUS_DIRECTORIES - 类中的静态变量 io.agentscope.core.tool.ToolDangerousPathConstants
Directory names whose presence anywhere in a path marks it sensitive.
DEFAULT_DANGEROUS_FILES - 类中的静态变量 io.agentscope.core.tool.ToolDangerousPathConstants
Sensitive files that should never be auto-edited.
DEFAULT_MAX_ITERS - 记录类中的静态变量 io.agentscope.core.agent.config.ReactConfig
 
DEFAULT_MAX_RETRIES - 记录类中的静态变量 io.agentscope.core.agent.config.ModelConfig
 
DEFAULT_MESSAGE - 异常错误类中的静态变量 io.agentscope.core.shutdown.AgentShuttingDownException
 
DEFAULT_PER_SKILL_CODE_EXECUTION_INSTRUCTION - 类中的静态变量 io.agentscope.core.skill.AgentSkillPromptProvider
已过时。
Code-execution instruction used when every visible skill carries its own <files-root> (e.g.
DEFAULT_PING_INTERVAL - 类中的静态变量 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
Default ping interval: 30 seconds.
DEFAULT_READ_TIMEOUT - 类中的静态变量 io.agentscope.core.model.transport.HttpTransportConfig
Default read timeout: 5 minutes (for long-running model calls).
DEFAULT_READ_TIMEOUT - 类中的静态变量 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
Default read timeout: 0 (no timeout for WebSocket).
DEFAULT_STOP_ON_REJECT - 记录类中的静态变量 io.agentscope.core.agent.config.ReactConfig
 
DEFAULT_WRITE_TIMEOUT - 类中的静态变量 io.agentscope.core.model.transport.HttpTransportConfig
Default write timeout: 30 seconds.
DEFAULT_WRITE_TIMEOUT - 类中的静态变量 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
Default write timeout: 30 seconds.
defaultConfig() - 类中的静态方法 io.agentscope.core.tool.ToolkitConfig
Get the default configuration (sequential execution using Reactor).
defaultContext(ToolExecutionContext) - 类中的方法 io.agentscope.core.tool.ToolkitConfig.Builder
已过时。
Use RuntimeContext instead.
defaultOptions(GenerateOptions) - 类中的方法 io.agentscope.core.model.AnthropicChatModel.Builder
Sets default generation options.
defaultOptions(GenerateOptions) - 类中的方法 io.agentscope.core.model.DashScopeChatModel.Builder
Sets the default generation options.
defaultOptions(GenerateOptions) - 类中的方法 io.agentscope.core.model.GeminiChatModel.Builder
Sets the default generation options.
defaultOptions(OllamaOptions) - 类中的方法 io.agentscope.core.model.OllamaChatModel.Builder
 
defaults() - 记录类中的静态方法 io.agentscope.core.agent.config.ModelConfig
Returns a config initialised to all default values (no fallback model).
defaults() - 记录类中的静态方法 io.agentscope.core.agent.config.ReactConfig
Returns a config initialised to all default values.
defaults() - 类中的静态方法 io.agentscope.core.agent.StreamOptions
Default options: All event types, incremental mode, include both reasoning chunk and reasoning result.
defaults() - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportConfig
Create a default configuration.
defaults() - 类中的静态方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
Create a default configuration.
defaults() - 类中的静态方法 io.agentscope.core.tool.subagent.SubAgentConfig
Creates a default configuration.
defaultSessionId(String) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Sets the builder-time fallback sessionId used to persist agent_state when a call does not supply a sessionId on its RuntimeContext.
DefaultToolResultConverter - io.agentscope.core.tool中的类
Default implementation of ToolResultConverter.
DefaultToolResultConverter() - 类的构造器 io.agentscope.core.tool.DefaultToolResultConverter
 
delete(String) - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
Deletes a skill by its skill name.
delete(String) - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
 
delete(String) - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
 
delete(String, String) - 接口中的方法 io.agentscope.core.state.AgentStateStore
Delete a session and all its data.
delete(String, String) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
 
delete(String, String) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
 
delete(String, String, String) - 接口中的方法 io.agentscope.core.state.AgentStateStore
Delete a single state entry within a session.
delete(String, String, String) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
 
delete(String, String, String) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
 
deleteDirectory(Path) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
已过时。
Recursively deletes a directory and all its contents.
deleteMessage(int) - 类中的方法 io.agentscope.core.memory.AgentStateMemoryView
已过时。
 
deleteMessage(int) - 类中的方法 io.agentscope.core.memory.InMemoryMemory
已过时。
Deletes a message at the specified index.
deleteMessage(int) - 接口中的方法 io.agentscope.core.memory.Memory
已过时。
Deletes a message at the specified index.
deleteMessage(int) - 类中的方法 io.agentscope.core.memory.StateBackedMemory
已过时。
 
deleteSkill(Path, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
已过时。
Deletes a skill by name based on SKILL.md metadata.
DENIED - 枚举类 中的枚举常量 io.agentscope.core.message.ToolResultState
 
deny(String) - 类中的静态方法 io.agentscope.core.permission.PermissionDecision
 
DENY - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionBehavior
 
depth(int) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
已过时。
 
description() - 批注接口 中的元素 io.agentscope.core.tool.Tool
The description of the tool that explains its purpose and usage.
description() - 批注接口 中的元素 io.agentscope.core.tool.ToolParam
The description of this parameter.
description(String) - 类中的方法 io.agentscope.core.agent.user.UserAgent.Builder
已过时。
Set the agent description.
description(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolFunction.Builder
 
description(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.JsonSchema.Builder
 
description(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction.Builder
 
description(String) - 类中的方法 io.agentscope.core.model.ToolSchema.Builder
Sets the tool description.
description(String) - 类中的方法 io.agentscope.core.ReActAgent.Builder
 
description(String) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
已过时。
Sets the skill description.
description(String) - 类中的方法 io.agentscope.core.state.Task.Builder
 
description(String) - 类中的方法 io.agentscope.core.tool.SkillToolGroup.Builder
Sets the base description of the tool group.
description(String) - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig.Builder
Sets the tool description.
description(String) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
 
description(String) - 类中的方法 io.agentscope.core.tool.ToolGroup.Builder
Sets the description of the tool group.
deserialize(JsonParser, DeserializationContext) - 类中的方法 io.agentscope.core.model.ollama.ThinkOption.ThinkOptionDeserializer
 
detectAudioFormat(String) - 类中的静态方法 io.agentscope.core.formatter.openai.OpenAIConverterUtils
Detect audio format from media type.
determineAudioFormat(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Determine audio format string from file extension.
determineMediaType(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Determine MIME type from file extension.
disable(String...) - 类中的静态方法 io.agentscope.core.skill.SkillFilter
Overlay: explicitly disable these skills (others unchanged).
DISABLED - 记录类中的静态变量 io.agentscope.core.model.ollama.ThinkOption.ThinkBoolean
Constant representing the disabled state for thinking.
disableTools(List<String>) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
已过时。
Set the list of tools to disable from the MCP client.
disableTools(List<String>) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
Set the list of tools to disable from the MCP client.
disableTracingHook() - 类中的静态方法 io.agentscope.core.tracing.TracerRegistry
已过时。
Disables the global Reactor hook for tracing context propagation.
DISCARD - 枚举类 中的枚举常量 io.agentscope.core.shutdown.PartialReasoningPolicy
 
displayName() - 记录类中的方法 io.agentscope.core.credential.ModelCard
返回 displayName 记录组件的值。
doCall(List<Msg>) - 类中的方法 io.agentscope.core.agent.AgentBase
Internal implementation for processing multiple input messages.
doCall(List<Msg>) - 类中的方法 io.agentscope.core.ReActAgent
 
doCall(List<Msg>, JsonNode) - 类中的方法 io.agentscope.core.agent.AgentBase
Internal implementation for processing multiple messages with structured output.
doCall(List<Msg>, JsonNode) - 类中的方法 io.agentscope.core.ReActAgent
 
doCall(List<Msg>, Class<?>) - 类中的方法 io.agentscope.core.agent.AgentBase
Internal implementation for processing multiple messages with structured output.
doCall(List<Msg>, Class<?>) - 类中的方法 io.agentscope.core.ReActAgent
 
docId(String) - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata.Builder
已过时。
Sets the document ID.
Document - io.agentscope.core.rag.model中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. The rag package is removed; integrate retrieval at the application layer.
Document(DocumentMetadata) - 类的构造器 io.agentscope.core.rag.model.Document
已过时。
Creates a new Document instance.
DocumentMetadata - io.agentscope.core.rag.model中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. The rag package is removed; integrate retrieval at the application layer.
DocumentMetadata(ContentBlock, String, String) - 类的构造器 io.agentscope.core.rag.model.DocumentMetadata
已过时。
Creates a new DocumentMetadata instance without custom payload.
DocumentMetadata(ContentBlock, String, String, Map<String, Object>) - 类的构造器 io.agentscope.core.rag.model.DocumentMetadata
已过时。
Creates a new DocumentMetadata instance with custom payload.
DocumentMetadata.Builder - io.agentscope.core.rag.model中的类
已过时。
Builder for constructing DocumentMetadata instances with fluent API.
doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
 
doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.anthropic.AnthropicChatFormatter
 
doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.anthropic.AnthropicMultiAgentFormatter
 
doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeChatFormatter
 
doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeMultiAgentFormatter
 
doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiChatFormatter
 
doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiMultiAgentFormatter
 
doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaChatFormatter
 
doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaMultiAgentFormatter
 
doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.openai.DeepSeekFormatter
 
doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.openai.DeepSeekMultiAgentFormatter
 
doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.openai.GLMFormatter
 
doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.openai.GLMMultiAgentFormatter
 
doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIChatFormatter
 
doFormat(List<Msg>) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIMultiAgentFormatter
 
DONT_ASK - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionMode
 
doObserve(Msg) - 类中的方法 io.agentscope.core.agent.AgentBase
Observe a message without generating a reply.
doObserve(Msg) - 类中的方法 io.agentscope.core.ReActAgent
 
doStream(List<Msg>, List<ToolSchema>, GenerateOptions) - 类中的方法 io.agentscope.core.model.AnthropicChatModel
Stream chat completion responses from Anthropic's API.
doStream(List<Msg>, List<ToolSchema>, GenerateOptions) - 类中的方法 io.agentscope.core.model.ChatModelBase
Internal implementation for streaming chat completion responses.
doStream(List<Msg>, List<ToolSchema>, GenerateOptions) - 类中的方法 io.agentscope.core.model.DashScopeChatModel
Stream chat completion responses from DashScope's API.
doStream(List<Msg>, List<ToolSchema>, GenerateOptions) - 类中的方法 io.agentscope.core.model.GeminiChatModel
Stream chat completion responses from Gemini's API.
doStream(List<Msg>, List<ToolSchema>, GenerateOptions) - 类中的方法 io.agentscope.core.model.OllamaChatModel
 
doStream(List<Msg>, List<ToolSchema>, GenerateOptions) - 类中的方法 io.agentscope.core.model.OpenAIChatModel
 
doStream0(List<Msg>, List<ToolSchema>, GenerateOptions) - 类中的方法 io.agentscope.core.model.OpenAIChatModel
 
downloadUrlToBase64(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Download a remote URL and convert to base64.
DynamicSkillMiddleware - io.agentscope.core.skill中的类
Dynamically composes skills from an ordered list of repositories on every call() via DynamicSkillMiddleware.onSystemPrompt(Agent, RuntimeContext, String), replacing the static skill prompt with a per-call view that supports per-user skill isolation and one-click marketplace integration.
DynamicSkillMiddleware(List<AgentSkillRepository>, Toolkit) - 类的构造器 io.agentscope.core.skill.DynamicSkillMiddleware
 
DynamicSkillMiddleware(List<AgentSkillRepository>, Toolkit, SkillFilter) - 类的构造器 io.agentscope.core.skill.DynamicSkillMiddleware
 
DynamicSkillMiddleware(List<AgentSkillRepository>, Toolkit, SkillFilter, boolean, Path) - 类的构造器 io.agentscope.core.skill.DynamicSkillMiddleware
Full constructor.
dynamicSkillsEnabled(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Toggles automatic installation of DynamicSkillMiddleware.

E

embed(OllamaEmbeddingRequest) - 类中的方法 io.agentscope.core.model.OllamaHttpClient
Make a synchronous Embed API call.
EMBED_ENDPOINT - 类中的静态变量 io.agentscope.core.model.OllamaHttpClient
Embed API endpoint.
emit(Event) - 接口中的方法 io.agentscope.core.agent.SubagentEventBus
Emits a subagent event into the parent stream.
emit(AgentEvent) - 接口中的方法 io.agentscope.core.event.AgentEventEmitter
Emits an AgentEvent into the parent's streamEvents() stream.
emit(ToolResultBlock) - 类中的方法 io.agentscope.core.tool.NoOpToolEmitter
Silently discards the emitted chunk without performing any action.
emit(ToolResultBlock) - 接口中的方法 io.agentscope.core.tool.ToolEmitter
Emit a streaming response chunk during tool execution.
emitter(ToolEmitter) - 类中的方法 io.agentscope.core.tool.ToolCallParam.Builder
Sets the ToolEmitter for streaming tool output.
empty() - 类中的静态方法 io.agentscope.core.agent.RuntimeContext
Shallow, mutable empty context (null session fields, empty attribute maps, no tool context).
empty() - 类中的静态方法 io.agentscope.core.tool.ToolExecutionContext
已过时。
Creates an empty context.
enable(String...) - 类中的静态方法 io.agentscope.core.skill.SkillFilter
Overlay: explicitly enable these skills (others unchanged).
enableCitation(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.Builder
 
enableCodeInterpreter(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
enabled() - 记录类中的方法 io.agentscope.core.model.ollama.ThinkOption.ThinkBoolean
返回 enabled 记录组件的值。
ENABLED - 记录类中的静态变量 io.agentscope.core.model.ollama.ThinkOption.ThinkBoolean
Constant representing the enabled state for thinking.
enabledEvents(Set<HookEventType>) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
已过时。
Enables exactly these event types (chunk and summary helpers still apply).
enableEncrypt(boolean) - 类中的方法 io.agentscope.core.model.DashScopeChatModel.Builder
Sets whether encryption should be enabled.
enableMetaTool(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Enables or disables the meta-tool functionality.
enablePendingToolRecovery(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Enables or disables automatic recovery from orphaned pending tool calls.
enableSearch(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
enableSearch(Boolean) - 类中的方法 io.agentscope.core.model.DashScopeChatModel.Builder
Sets whether search enhancement should be enabled.
enableSearchExtension(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.Builder
 
enableSource(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.Builder
 
enableTaskList() - 类中的方法 io.agentscope.core.ReActAgent.Builder
Enables the built-in task-list capability (todo_write tool + per-turn reminder).
enableTaskList(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Enables or disables the built-in task-list capability.
enableThinking(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
enableThinking(Boolean) - 类中的方法 io.agentscope.core.model.DashScopeChatModel.Builder
Sets whether thinking mode should be enabled.
enableTools(List<String>) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
已过时。
Set the list of tools to enable from the MCP client.
enableTools(List<String>) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
Set the list of tools to enable from the MCP client.
enableTracingHook() - 类中的静态方法 io.agentscope.core.tracing.TracerRegistry
已过时。
Enables the global Reactor hook for tracing context propagation.
encryptAesKeyWithRsa(SecretKey, String) - 类中的静态方法 io.agentscope.core.model.DashScopeEncryptionUtils
Encrypt an AES secret key using RSA public key.
EncryptionException(String) - 异常错误类的构造器 io.agentscope.core.model.DashScopeEncryptionUtils.EncryptionException
 
EncryptionException(String, Throwable) - 异常错误类的构造器 io.agentscope.core.model.DashScopeEncryptionUtils.EncryptionException
 
encryptWithAes(SecretKey, byte[], String) - 类中的静态方法 io.agentscope.core.model.DashScopeEncryptionUtils
Encrypt data using AES-GCM.
endpointPath(String) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the endpoint path for the API request.
endpointPath(String) - 类中的方法 io.agentscope.core.model.OpenAIChatModel.Builder
Sets a custom endpoint path for the API request.
endpointType(EndpointType) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest.Builder
Sets the endpoint type for endpoint selection.
endpointType(EndpointType) - 类中的方法 io.agentscope.core.model.DashScopeChatModel.Builder
Sets the endpoint type to use for endpoint routing.
EndpointType - io.agentscope.core.model中的枚举类
Enum representing the endpoint type for DashScope models.
ensureAcceptingRequests() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
 
ensureDefaultExecutionConfig(GenerateOptions) - 类中的静态方法 io.agentscope.core.model.ModelUtils
Ensures GenerateOptions has MODEL_DEFAULTS for executionConfig applied.
entries() - 记录类中的方法 io.agentscope.core.tool.mcp.McpMeta
Returns the metadata entries as an unmodifiable map.
equals(Object) - 记录类中的方法 io.agentscope.core.agent.config.ModelConfig
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.agent.config.ReactConfig
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.credential.ModelCard
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.exception.CompositeAgentException.AgentExceptionInfo
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.middleware.ActingInput
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.middleware.AgentInput
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.middleware.ModelCallInput
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.middleware.ReasoningInput
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.model.DashScopeHttpClient.PublicKeyResult
指示某个其他对象是否“等于”此对象。
equals(Object) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
equals(Object) - 记录类中的方法 io.agentscope.core.model.ollama.ThinkOption.ThinkBoolean
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.model.ollama.ThinkOption.ThinkLevel
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.model.ToolChoice.Auto
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.model.ToolChoice.None
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.model.ToolChoice.Required
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.model.ToolChoice.Specific
指示某个其他对象是否“等于”此对象。
equals(Object) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
 
equals(Object) - 记录类中的方法 io.agentscope.core.model.transport.websocket.CloseInfo
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.permission.AdditionalWorkingDirectory
指示某个其他对象是否“等于”此对象。
equals(Object) - 类中的方法 io.agentscope.core.permission.PermissionContextState
 
equals(Object) - 类中的方法 io.agentscope.core.permission.PermissionDecision
 
equals(Object) - 记录类中的方法 io.agentscope.core.permission.PermissionRule
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.shutdown.GracefulShutdownConfig
指示某个其他对象是否“等于”此对象。
equals(Object) - 记录类中的方法 io.agentscope.core.shutdown.ShutdownSessionBinding
已过时。
指示某个其他对象是否“等于”此对象。
equals(Object) - 类中的方法 io.agentscope.core.state.AgentState
 
equals(Object) - 记录类中的方法 io.agentscope.core.state.legacy.ToolkitState
指示某个其他对象是否“等于”此对象。
equals(Object) - 类中的方法 io.agentscope.core.state.PlanModeContextState
 
equals(Object) - 记录类中的方法 io.agentscope.core.state.ReadCacheEntry
指示某个其他对象是否“等于”此对象。
equals(Object) - 类中的方法 io.agentscope.core.state.Task
 
equals(Object) - 类中的方法 io.agentscope.core.state.TaskContextState
 
equals(Object) - 记录类中的方法 io.agentscope.core.tool.mcp.McpMeta
指示某个其他对象是否“等于”此对象。
equals(Object) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
已过时。
 
error(String) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
Create an error result (for tool method return values).
ERROR - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
已过时。
When an error occurs
ERROR - 枚举类 中的枚举常量 io.agentscope.core.message.ToolResultState
 
ErrorEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
ErrorEvent(Agent, Throwable) - 类的构造器 io.agentscope.core.hook.ErrorEvent
已过时。
Constructor for ErrorEvent.
Event - io.agentscope.core.agent中的类
已过时。
since 2.0.0. This is the v1 coarse-grained event type, kept as the return type of the deprecated stream(...) API and as the wire format consumed by the harness, AGUI, A2A, chat-completions-web, and Kotlin extension modules. New code should use io.agentscope.core.event.AgentEvent via ReActAgent#streamEvents(...), which exposes the fine-grained event hierarchy (28 typed events covering the full agent lifecycle and HITL flow). The class will be marked forRemoval = true once the dependent internal modules migrate to AgentEvent.
Event(EventType, Msg, boolean) - 类的构造器 io.agentscope.core.agent.Event
已过时。
Creates a new event (top-level agent — no source).
Event(EventType, Msg, boolean, EventSource) - 类的构造器 io.agentscope.core.agent.Event
已过时。
Creates a new event with optional source.
EventSource - io.agentscope.core.agent中的类
已过时。
since 2.0.0. Used only by the v1 Event stream to attribute events to a spawned subagent. A subagent-source channel for the new io.agentscope.core.event.AgentEvent stream is on the v2 roadmap; once it lands, EventSource will be marked forRemoval = true.
EventSource.Builder - io.agentscope.core.agent中的类
已过时。
Builder for EventSource.
EventType - io.agentscope.core.agent中的枚举类
已过时。
since 2.0.0. The v1 coarse-grained event discriminator. New code should use io.agentscope.core.event.AgentEventType (and the typed AgentEvent subclasses) exposed by ReActAgent#streamEvents(...).
eventTypes(EventType...) - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
Set which event types to stream.
EXCEED_MAX_ITERS - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
ExceedMaxItersEvent - io.agentscope.core.event中的类
Emitted when the agent's ReAct loop exceeds the configured maximum iterations.
ExceedMaxItersEvent(String, int, int) - 类的构造器 io.agentscope.core.event.ExceedMaxItersEvent
 
ExceedMaxItersEvent(String, String, String, int, int) - 类的构造器 io.agentscope.core.event.ExceedMaxItersEvent
 
except(String...) - 类中的静态方法 io.agentscope.core.skill.SkillFilter
Blacklist: all skills except the named ones are allowed.
ExceptionUtils - io.agentscope.core.util中的类
Utility methods for exception handling.
execute(HttpRequest) - 接口中的方法 io.agentscope.core.model.transport.HttpTransport
Execute a synchronous HTTP request.
execute(HttpRequest) - 类中的方法 io.agentscope.core.model.transport.JdkHttpTransport
 
execute(HttpRequest) - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport
 
executeShellCommand(String, Integer) - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
Execute a shell command and return the return code, standard output, and standard error within tags.
executeShellCommand(String, Integer, Charset) - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
Execute a shell command and return the return code, standard output, and standard error within tags.
executionConfig(ExecutionConfig) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the execution configuration for timeout and retry behavior.
executionConfig(ExecutionConfig) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
executionConfig(ExecutionConfig) - 类中的方法 io.agentscope.core.tool.ToolkitConfig.Builder
Set the execution configuration for timeout and retry behavior.
ExecutionConfig - io.agentscope.core.model中的类
Unified execution configuration for timeout and retry behavior.
ExecutionConfig.Builder - io.agentscope.core.model中的类
Builder for ExecutionConfig.
executorService(ExecutorService) - 类中的方法 io.agentscope.core.tool.ToolkitConfig.Builder
Set a custom executor service for tool execution.
exists(String) - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Checks if a skill exists.
exists(String, String) - 接口中的方法 io.agentscope.core.state.AgentStateStore
Check if a session exists.
exists(String, String) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
 
exists(String, String) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
 
EXPLORE - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionMode
 
extendedModel(ExtendedModel) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
已过时。
Set the extended model for dynamic schema extension.
extendedModel(ExtendedModel) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
Set the extended model for dynamic schema extension.
ExtendedModel - io.agentscope.core.tool中的接口
Interface for extended model that adds properties to tool parameters.
EXTERNAL - 枚举类 中的枚举常量 io.agentscope.core.tool.ToolGroupScope
The group is managed externally by developer code.
EXTERNAL_EXECUTION_RESULT - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
ExternalExecutionResultEvent - io.agentscope.core.event中的类
Emitted after externally-executed tool results are provided back to the agent.
ExternalExecutionResultEvent(String, String, String, List<ToolResultBlock>) - 类的构造器 io.agentscope.core.event.ExternalExecutionResultEvent
 
ExternalExecutionResultEvent(String, List<ToolResultBlock>) - 类的构造器 io.agentscope.core.event.ExternalExecutionResultEvent
 
externalTool() - 批注接口 中的元素 io.agentscope.core.tool.Tool
Whether the tool is executed outside the framework.
externalTool(boolean) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
 
extractExecutable(String) - 接口中的方法 io.agentscope.core.tool.coding.CommandValidator
Extract the executable name from a command string.
extractExecutable(String) - 类中的方法 io.agentscope.core.tool.coding.UnixCommandValidator
 
extractExecutable(String) - 类中的方法 io.agentscope.core.tool.coding.WindowsCommandValidator
 
extractSystemMessage(List<Msg>) - 类中的方法 io.agentscope.core.formatter.anthropic.AnthropicMessageConverter
Extract system message content if present in the first message.
extractTextContent(ContentBlock) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
Extract text content from a single ContentBlock.
extractTextContent(Msg) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
Extract text content from a message, filtering out ThinkingBlock.
extraParam(String, Object) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
extraParams(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 

F

F16_KV - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
f16KV(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
failFast(boolean) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
已过时。
If enabled, exporter errors fail the agent execution (default: false, best-effort).
fallbackModel() - 记录类中的方法 io.agentscope.core.agent.config.ModelConfig
返回 fallbackModel 记录组件的值。
fallbackModel(Model) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Sets the fallback model invoked after the primary model exhausts its retry budget.
fallbackModel(String) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Convenience overload that resolves modelId via ModelRegistry.resolve(String) (named registration or provider:model pattern like openai:gpt-5.5, dashscope:qwen-max).
fetchPublicKey(String, String, HttpTransport) - 类中的静态方法 io.agentscope.core.model.DashScopeHttpClient
Fetch the latest RSA public key from DashScope API.
filePath() - 记录类中的方法 io.agentscope.core.state.ReadCacheEntry
返回 filePath 记录组件的值。
FileSystemSkillRepository - io.agentscope.core.skill.repository中的类
File system based implementation of AgentSkillRepository.
FileSystemSkillRepository(Path) - 类的构造器 io.agentscope.core.skill.repository.FileSystemSkillRepository
 
FileSystemSkillRepository(Path, boolean) - 类的构造器 io.agentscope.core.skill.repository.FileSystemSkillRepository
Creates a FileSystemSkillRepository with the specified base directory.
FileSystemSkillRepository(Path, boolean, String) - 类的构造器 io.agentscope.core.skill.repository.FileSystemSkillRepository
Creates a FileSystemSkillRepository with the specified base directory and source.
FileSystemSkillRepository(Path, boolean, String, boolean) - 类的构造器 io.agentscope.core.skill.repository.FileSystemSkillRepository
Creates a FileSystemSkillRepository with explicit lazy mode.
fileToBase64(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Convert a local file to base64 encoded string.
FileToolUtils - io.agentscope.core.tool.file中的类
Utility methods shared by text file tools.
filterVisible(List<AgentSkill>, RuntimeContext) - 类中的方法 io.agentscope.core.skill.DynamicSkillMiddleware
Hook for subclasses to drop skills that should not be visible in the current request (canary releases, allow-lists, environment gates, …).
FINISHED - 枚举类 中的枚举常量 io.agentscope.core.message.ToolCallState
 
finishReason(String) - 类中的方法 io.agentscope.core.model.ChatResponse.Builder
Sets the finish reason for the response.
fire(T) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
已过时。
 
fireActingChunk(ToolUseBlock, ToolResultBlock, Toolkit) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
已过时。
 
firePostActing(ToolUseBlock, ToolResultBlock, Toolkit, Msg) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
已过时。
 
firePostReasoning(Msg, String) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
已过时。
 
firePostSummary(Msg, GenerateOptions, String) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
已过时。
 
firePreActing(List<ToolUseBlock>, Toolkit) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
已过时。
 
firePreReasoning(List<Msg>, Msg, String) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
已过时。
 
firePreSummary(List<Msg>, GenerateOptions, String, int, Msg) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
已过时。
 
fireReasoningChunk(Msg, ReasoningContext, String) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
已过时。
 
fireSummaryChunk(Msg, ReasoningContext, GenerateOptions, String) - 类中的方法 io.agentscope.core.hook.LegacyHookDispatcher
已过时。
 
flushEveryLine(boolean) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
已过时。
Flushes after each JSONL line (default: true).
forcedSearch(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.Builder
 
format(Object) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest.Builder
 
format(Object) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
format(List<Msg>) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
Format AgentScope messages to provider-specific request format.
format(List<Msg>) - 接口中的方法 io.agentscope.core.formatter.Formatter
Format AgentScope messages to provider-specific request format.
FORMAT - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
formatMultiModal(List<Msg>) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeChatFormatter
Format AgentScope Msg objects to DashScope MultiModal message format.
formatMultiModal(List<Msg>) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeMultiAgentFormatter
Format AgentScope Msg objects to DashScope MultiModal message format.
formatRoleLabel(MsgRole) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
Format role label for conversation history.
formatter(AnthropicBaseFormatter) - 类中的方法 io.agentscope.core.model.AnthropicChatModel.Builder
Sets a custom formatter.
formatter(Formatter<Content, GenerateContentResponse, GenerateContentConfig.Builder>) - 类中的方法 io.agentscope.core.model.GeminiChatModel.Builder
Sets the formatter.
formatter(Formatter<DashScopeMessage, DashScopeResponse, DashScopeRequest>) - 类中的方法 io.agentscope.core.model.DashScopeChatModel.Builder
Sets the message formatter to use.
formatter(Formatter<OllamaMessage, OllamaResponse, OllamaRequest>) - 类中的方法 io.agentscope.core.model.OllamaChatModel.Builder
 
formatter(Formatter<OpenAIMessage, OpenAIResponse, OpenAIRequest>) - 类中的方法 io.agentscope.core.model.OpenAIChatModel.Builder
Sets the message formatter to use.
Formatter<TReq,TResp,TParams> - io.agentscope.core.formatter中的接口
Formatter interface for converting between AgentScope and provider-specific formats.
FormatterException - io.agentscope.core.formatter中的异常错误类
Exception thrown when formatter encounters an error during message formatting or response parsing.
FormatterException(String) - 异常错误类的构造器 io.agentscope.core.formatter.FormatterException
Constructs a new FormatterException with the specified detail message.
FormatterException(String, Throwable) - 异常错误类的构造器 io.agentscope.core.formatter.FormatterException
Constructs a new FormatterException with the specified detail message and cause.
forwardEvents(boolean) - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig.Builder
Sets whether to forward sub-agent events to the parent agent.
FORWARDING_CONTEXT_KEY - 接口中的静态变量 io.agentscope.core.event.AgentEventEmitter
Reactor Context key for a forwarding emitter injected by a parent tool (e.g.
fps(Float) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart.Builder
 
fps(Float) - 类中的方法 io.agentscope.core.message.VideoBlock.Builder
Sets the frames per second (FPS) of the video.
FRAGMENT_PLACEHOLDER - 类中的静态变量 io.agentscope.core.formatter.dashscope.DashScopeResponseParser
Placeholder name for tool call argument fragments in streaming responses.
FRAGMENT_PLACEHOLDER - 类中的静态变量 io.agentscope.core.formatter.openai.OpenAIResponseParser
Placeholder name for tool call argument fragments in streaming responses.
FREQUENCY_PENALTY - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
frequencyPenalty(Double) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
frequencyPenalty(Double) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
frequencyPenalty(Double) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the frequency penalty.
frequencyPenalty(Double) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
fromAgent(ReActAgent) - 类中的静态方法 io.agentscope.core.ReActAgent.Builder
Returns a new ReActAgent.Builder pre-populated with the given agent's observable configuration: name, description, system prompt, model, maxIters, generateOptions, and a defensive copy of the toolkit.
fromContext(ContextView) - 接口中的静态方法 io.agentscope.core.agent.SubagentEventBus
Retrieves the SubagentEventBus from the Reactor Context, if present.
fromContext(ContextView) - 接口中的静态方法 io.agentscope.core.event.AgentEventEmitter
Retrieves the AgentEventEmitter from the Reactor Context, if present.
fromForwardingContext(ContextView) - 接口中的静态方法 io.agentscope.core.event.AgentEventEmitter
Retrieves the forwarding AgentEventEmitter from the Reactor Context, if present.
fromGenerateOptions(GenerateOptions) - 类中的静态方法 io.agentscope.core.model.ollama.OllamaOptions
Converts generic GenerateOptions to OllamaOptions.
fromJson(String, TypeReference<T>) - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
 
fromJson(String, TypeReference<T>) - 接口中的方法 io.agentscope.core.util.JsonCodec
Deserialize a JSON string to an object with generic type.
fromJson(String, Class<T>) - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
 
fromJson(String, Class<T>) - 接口中的方法 io.agentscope.core.util.JsonCodec
Deserialize a JSON string to an object of the specified type.
fromJsonString(String) - 类中的静态方法 io.agentscope.core.state.AgentState
Deserialize an AgentState from a JSON string produced by AgentState.toJson().
fromOptions(OllamaOptions) - 类中的静态方法 io.agentscope.core.model.ollama.OllamaOptions
 
fromString(String) - 枚举类中的静态方法 io.agentscope.core.permission.PermissionBehavior
Resolves a string (case-insensitive) to a PermissionBehavior.
fromString(String) - 枚举类中的静态方法 io.agentscope.core.permission.PermissionMode
Resolves a string (case-insensitive) to a PermissionMode.
fromValue(String) - 枚举类中的静态方法 io.agentscope.core.event.AgentEventType
Resolve an enum value from its canonical string or any legacy alias.
fromWire(String) - 枚举类中的静态方法 io.agentscope.core.state.Task.State
 
function(DashScopeFunction) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall.Builder
 
function(DashScopeToolFunction) - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeTool
Create a function tool.
function(OpenAIFunction) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall.Builder
 
function(OpenAIToolFunction) - 类中的静态方法 io.agentscope.core.formatter.openai.dto.OpenAITool
Create a function tool.

G

GeminiChatFormatter - io.agentscope.core.formatter.gemini中的类
Formatter for Gemini Content Generation API.
GeminiChatFormatter() - 类的构造器 io.agentscope.core.formatter.gemini.GeminiChatFormatter
Creates a new GeminiChatFormatter with default converters and parsers.
GeminiChatModel - io.agentscope.core.model中的类
Gemini Chat Model implementation using the official Google GenAI Java SDK.
GeminiChatModel(String, String, boolean, String, String, Boolean, HttpOptions, GoogleCredentials, ClientOptions, GenerateOptions, Formatter<Content, GenerateContentResponse, GenerateContentConfig.Builder>) - 类的构造器 io.agentscope.core.model.GeminiChatModel
Creates a new Gemini chat model instance using the default endpoint configuration.
GeminiChatModel(String, String, String, boolean, String, String, Boolean, HttpOptions, GoogleCredentials, ClientOptions, GenerateOptions, Formatter<Content, GenerateContentResponse, GenerateContentConfig.Builder>) - 类的构造器 io.agentscope.core.model.GeminiChatModel
Creates a new Gemini chat model instance.
GeminiChatModel.Builder - io.agentscope.core.model中的类
Builder for creating GeminiChatModel instances.
GeminiConversationMerger - io.agentscope.core.formatter.gemini中的类
Merges multi-agent conversation messages for Gemini API.
GeminiConversationMerger(String) - 类的构造器 io.agentscope.core.formatter.gemini.GeminiConversationMerger
Create a GeminiConversationMerger with custom conversation history prompt.
GeminiCredential - io.agentscope.core.credential中的类
Credential for the Google Gemini API.
GeminiCredential.Builder - io.agentscope.core.credential中的类
 
GeminiMediaConverter - io.agentscope.core.formatter.gemini中的类
Converter for Gemini API multimodal content.
GeminiMediaConverter() - 类的构造器 io.agentscope.core.formatter.gemini.GeminiMediaConverter
 
GeminiMessageConverter - io.agentscope.core.formatter.gemini中的类
Converter for transforming AgentScope Msg objects to Gemini API Content format.
GeminiMessageConverter() - 类的构造器 io.agentscope.core.formatter.gemini.GeminiMessageConverter
Creates a new GeminiMessageConverter with default media converter.
GeminiMultiAgentFormatter - io.agentscope.core.formatter.gemini中的类
Gemini formatter for multi-agent conversations.
GeminiMultiAgentFormatter() - 类的构造器 io.agentscope.core.formatter.gemini.GeminiMultiAgentFormatter
Create a GeminiMultiAgentFormatter with default conversation history prompt.
GeminiMultiAgentFormatter(String) - 类的构造器 io.agentscope.core.formatter.gemini.GeminiMultiAgentFormatter
Create a GeminiMultiAgentFormatter with custom conversation history prompt.
GeminiResponseParser - io.agentscope.core.formatter.gemini中的类
Parses Gemini API responses to AgentScope ChatResponse.
GeminiResponseParser() - 类的构造器 io.agentscope.core.formatter.gemini.GeminiResponseParser
Creates a new GeminiResponseParser.
GeminiToolsHelper - io.agentscope.core.formatter.gemini中的类
Handles tool registration and configuration for Gemini API.
GeminiToolsHelper() - 类的构造器 io.agentscope.core.formatter.gemini.GeminiToolsHelper
Creates a new GeminiToolsHelper.
generate(Map<String, Object>, String) - 类中的静态方法 io.agentscope.core.skill.util.MarkdownSkillParser
已过时。
Generate markdown content with YAML frontmatter.
generateAesSecretKey() - 类中的静态方法 io.agentscope.core.model.DashScopeEncryptionUtils
Generate a new AES secret key for encryption.
generateId() - 类中的静态方法 io.agentscope.core.message.Msg
Generates a random UUID string for use as a message ID.
generateIv() - 类中的静态方法 io.agentscope.core.model.DashScopeEncryptionUtils
Generate a unique initialization vector (IV) for AES-GCM encryption.
generateOptions(GenerateOptions) - 类中的方法 io.agentscope.core.model.OpenAIChatModel.Builder
Sets the default generation options.
generateOptions(GenerateOptions) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Sets the generation options for model API calls.
GenerateOptions - io.agentscope.core.model中的类
Immutable generation options for LLM models.
GenerateOptions.Builder - io.agentscope.core.model中的类
 
generateReason(GenerateReason) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
 
generateReason(GenerateReason) - 类中的方法 io.agentscope.core.message.Msg.Builder
 
generateReason(GenerateReason) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
 
generateReason(GenerateReason) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
 
generateReason(GenerateReason) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
 
GenerateReason - io.agentscope.core.message中的枚举类
Represents the reason why a message was generated by an agent.
generateSuggestions(Map<String, Object>) - 类中的方法 io.agentscope.core.tool.ToolBase
Default suggestion: a single tool-name-level PermissionBehavior.ALLOW rule sourced from "suggested".
GENERIC - 枚举类 中的枚举常量 io.agentscope.core.rag.RAGMode
已过时。
Generic mode: Knowledge is automatically retrieved and injected before each reasoning step via Hook.
GenericRAGHook - io.agentscope.core.rag中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. The rag package is removed; integrate retrieval at the application layer.
GenericRAGHook(Knowledge) - 类的构造器 io.agentscope.core.rag.GenericRAGHook
已过时。
Creates a GenericRAGHook with default configuration.
GenericRAGHook(Knowledge, RetrieveConfig) - 类的构造器 io.agentscope.core.rag.GenericRAGHook
已过时。
Creates a GenericRAGHook with custom configuration.
get() - 类中的静态方法 io.agentscope.core.tracing.TracerRegistry
已过时。
 
get(Class<T>) - 类中的方法 io.agentscope.core.agent.RuntimeContext
 
get(Class<T>) - 接口中的方法 io.agentscope.core.tool.ContextStore
已过时。
Retrieves an object by type only (without key).
get(Class<T>) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
已过时。
Retrieves an object by type only (for singleton scenarios).
get(String) - 类中的方法 io.agentscope.core.agent.RuntimeContext
 
get(String, Class<T>) - 类中的方法 io.agentscope.core.agent.RuntimeContext
 
get(String, Class<T>) - 接口中的方法 io.agentscope.core.tool.ContextStore
已过时。
Retrieves an object by key and type.
get(String, Class<T>) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
已过时。
Retrieves an object by key and type (for multi-instance scenarios).
get(String, String, String, Class<T>) - 接口中的方法 io.agentscope.core.state.AgentStateStore
Get a single state value.
get(String, String, String, Class<T>) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
 
get(String, String, String, Class<T>) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
 
getAcceptedPredictionTokens() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage.CompletionTokensDetails
 
getAccumulated() - 类中的方法 io.agentscope.core.hook.ReasoningChunkEvent
已过时。
Get the full accumulated message containing all content generated so far.
getAccumulated() - 类中的方法 io.agentscope.core.hook.SummaryChunkEvent
已过时。
Get the full accumulated message containing all content generated so far.
getActivatedGroups() - 类中的方法 io.agentscope.core.state.ToolContextState
 
getActivateOnSkill() - 类中的方法 io.agentscope.core.tool.SkillToolGroup
Returns the name of the skill that this tool group is bound to.
getActiveGroups() - 类中的方法 io.agentscope.core.tool.Toolkit
Get active tool group names.
getActiveRequestCount() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
 
getAdditionalBodyParams() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the additional parameters to include in the request body.
getAdditionalHeaders() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the additional HTTP headers to include in API requests.
getAdditionalProperties() - 接口中的方法 io.agentscope.core.tool.ExtendedModel
Get the additional properties to merge into base schema.
getAdditionalProperties() - 类中的方法 io.agentscope.core.tool.SimpleExtendedModel
 
getAdditionalQueryParams() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the additional query parameters to include in API requests.
getAdditionalRequired() - 接口中的方法 io.agentscope.core.tool.ExtendedModel
Get the additional required fields.
getAdditionalRequired() - 类中的方法 io.agentscope.core.tool.SimpleExtendedModel
 
getAgent() - 类中的方法 io.agentscope.core.hook.HookEvent
已过时。
Get the agent instance.
getAgent() - 类中的方法 io.agentscope.core.tool.ToolCallParam
Gets the agent making the call.
getAgentId() - 接口中的方法 io.agentscope.core.agent.Agent
Get the unique identifier for this agent.
getAgentId() - 类中的方法 io.agentscope.core.agent.AgentBase
 
getAgentId() - 类中的方法 io.agentscope.core.agent.EventSource
已过时。
 
getAgentId() - 类中的方法 io.agentscope.core.event.SubagentExposedEvent
 
getAgentKey() - 类中的方法 io.agentscope.core.agent.EventSource
已过时。
 
getAgentName() - 类中的方法 io.agentscope.core.agent.EventSource
已过时。
 
getAgentState() - 接口中的方法 io.agentscope.core.agent.Agent
Returns the agent's runtime AgentState, or null if this agent type does not maintain one.
getAgentState() - 类中的方法 io.agentscope.core.agent.AgentBase
Returns the agent's mutable runtime state, or null if this agent type does not maintain an AgentState.
getAgentState() - 类中的方法 io.agentscope.core.agent.RuntimeContext
Returns the call-scoped AgentState for this run, or null when accessed outside of an active call().
getAgentState() - 类中的方法 io.agentscope.core.ReActAgent
已过时。
Use ReActAgent.getAgentState(RuntimeContext) or ReActAgent.getAgentState(String, String) with explicit session identity. This method delegates to the default session slot.
getAgentState(RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
Returns the AgentState for the session identified by the given RuntimeContext.
getAgentState(String, String) - 类中的方法 io.agentscope.core.ReActAgent
Returns the AgentState for the given (userId, sessionId) slot, loading it from the configured AgentStateStore on first access and caching it for subsequent calls within this JVM.
getAllowedCommands() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
Get an unmodifiable view of the allowed commands.
getAllowRules() - 类中的方法 io.agentscope.core.permission.PermissionContextState
 
getAllowRules() - 类中的方法 io.agentscope.core.permission.PermissionEngine
Read-only view of the engine's current allow-rule table.
getAllSkillIds() - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Gets all skill IDs.
getAllSkillNames() - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
Lists all available skill IDs in the repository.
getAllSkillNames() - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
Gets all skill names available in the repository.
getAllSkillNames() - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
 
getAllSkillNames(Path) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
已过时。
Retrieves all skill names by parsing SKILL.md metadata in each skill folder.
getAllSkills() - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
Gets all skills from the repository.
getAllSkills() - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
Gets all skills available in the repository.
getAllSkills() - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
 
getAllSkills(Path, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
已过时。
Retrieves all skills from the base directory with resources pre-loaded into memory.
getAllSkills(Path, String, boolean) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
已过时。
Retrieves all skills from the base directory.
getApiKey() - 类中的方法 io.agentscope.core.credential.AnthropicCredential
 
getApiKey() - 类中的方法 io.agentscope.core.credential.DashScopeCredential
 
getApiKey() - 类中的方法 io.agentscope.core.credential.DeepSeekCredential
 
getApiKey() - 类中的方法 io.agentscope.core.credential.GeminiCredential
 
getApiKey() - 类中的方法 io.agentscope.core.credential.KimiCredential
 
getApiKey() - 类中的方法 io.agentscope.core.credential.OpenAICredential
 
getApiKey() - 类中的方法 io.agentscope.core.credential.XAICredential
 
getApiKey() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the API key for authentication.
getApprovalCallback() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
Get the approval callback function.
getArguments() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeFunction
 
getArguments() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaFunction
 
getArguments() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIFunction
 
getAskRules() - 类中的方法 io.agentscope.core.permission.PermissionContextState
 
getAskRules() - 类中的方法 io.agentscope.core.permission.PermissionEngine
Read-only view of the engine's current ask-rule table.
getAudio() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
getAudio() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getAudioTokens() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeUsage
 
getAudioTokens() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage.CompletionTokensDetails
 
getAudioTokens() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage.PromptTokensDetails
 
getBackoffMultiplier() - 类中的方法 io.agentscope.core.model.ExecutionConfig
Gets the backoff multiplier.
getBaseDir() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
Get the base directory for command execution.
getBaseUrl() - 类中的方法 io.agentscope.core.credential.AnthropicCredential
 
getBaseUrl() - 类中的方法 io.agentscope.core.credential.DashScopeCredential
 
getBaseUrl() - 类中的方法 io.agentscope.core.credential.DeepSeekCredential
 
getBaseUrl() - 类中的方法 io.agentscope.core.credential.KimiCredential
 
getBaseUrl() - 类中的方法 io.agentscope.core.credential.OpenAICredential
 
getBaseUrl() - 类中的方法 io.agentscope.core.model.DashScopeHttpClient
Get the base URL.
getBaseUrl() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the base URL for the API endpoint.
getBaseUrl() - 类中的方法 io.agentscope.core.model.OllamaHttpClient
Get the base URL.
getBehavior() - 类中的方法 io.agentscope.core.permission.PermissionDecision
 
getBlockedBy() - 类中的方法 io.agentscope.core.state.Task
 
getBlockId() - 类中的方法 io.agentscope.core.event.DataBlockDeltaEvent
 
getBlockId() - 类中的方法 io.agentscope.core.event.DataBlockEndEvent
 
getBlockId() - 类中的方法 io.agentscope.core.event.DataBlockStartEvent
 
getBlockId() - 类中的方法 io.agentscope.core.event.HintBlockEvent
 
getBlockId() - 类中的方法 io.agentscope.core.event.TextBlockDeltaEvent
 
getBlockId() - 类中的方法 io.agentscope.core.event.TextBlockEndEvent
 
getBlockId() - 类中的方法 io.agentscope.core.event.TextBlockStartEvent
 
getBlockId() - 类中的方法 io.agentscope.core.event.ThinkingBlockDeltaEvent
 
getBlockId() - 类中的方法 io.agentscope.core.event.ThinkingBlockEndEvent
 
getBlockId() - 类中的方法 io.agentscope.core.event.ThinkingBlockStartEvent
 
getBlocks() - 类中的方法 io.agentscope.core.state.Task
 
getBlocksInput() - 类中的方法 io.agentscope.core.agent.user.UserInputData
已过时。
Gets the content blocks representing the user input.
getBody() - 类中的方法 io.agentscope.core.model.transport.HttpRequest
Get the request body.
getBody() - 类中的方法 io.agentscope.core.model.transport.HttpResponse
Get the response body.
getCache(String) - 类中的方法 io.agentscope.core.state.ToolContextState
Look up the cached entry for filePath.
getCacheControl() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
getCacheControl() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
getCacheControl() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets whether cache control is enabled for prompt caching.
getCachedTokens() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage.PromptTokensDetails
 
getCachedTool(String) - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
Gets a cached tool definition by name.
getCauses() - 异常错误类中的方法 io.agentscope.core.exception.CompositeAgentException
 
getCharset() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
Get the charset used for decoding command output streams.
getChatModelClass() - 类中的方法 io.agentscope.core.credential.AnthropicCredential
 
getChatModelClass() - 类中的方法 io.agentscope.core.credential.CredentialBase
The ChatModelBase subclass that consumes this credential.
getChatModelClass() - 类中的方法 io.agentscope.core.credential.DashScopeCredential
 
getChatModelClass() - 类中的方法 io.agentscope.core.credential.DeepSeekCredential
 
getChatModelClass() - 类中的方法 io.agentscope.core.credential.GeminiCredential
 
getChatModelClass() - 类中的方法 io.agentscope.core.credential.KimiCredential
 
getChatModelClass() - 类中的方法 io.agentscope.core.credential.OllamaCredential
 
getChatModelClass() - 类中的方法 io.agentscope.core.credential.OpenAICredential
 
getChatModelClass() - 类中的方法 io.agentscope.core.credential.XAICredential
 
getChatUsage() - 类中的方法 io.agentscope.core.message.Msg
Gets the chat usage statistics from this message's metadata.
getChoices() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeOutput
 
getChoices() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
getChunk() - 类中的方法 io.agentscope.core.hook.ActingChunkEvent
已过时。
Get the streaming chunk from ToolEmitter.
getChunkId() - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata
已过时。
Gets the chunk ID.
getCitationFormat() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
getClient() - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport
Get the underlying OkHttpClient instance.
getClientName() - 类中的方法 io.agentscope.core.tool.mcp.McpTool
Gets the name of the MCP client that provides this tool.
getCloseInfo() - 类中的方法 io.agentscope.core.model.transport.websocket.JdkWebSocketConnection
 
getCloseInfo() - 类中的方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketConnection
 
getCloseInfo() - 接口中的方法 io.agentscope.core.model.transport.websocket.WebSocketConnection
Get close information (if closed).
getCode() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopePublicKeyResponse
 
getCode() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeResponse
 
getCode() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIError
 
getCode() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
getCodeExecutionWorkDir() - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Gets the working directory for code execution.
getCommandValidator() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
Get the command validator.
getCompletionTokens() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage
 
getCompletionTokensDetails() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage
 
getComponentCount() - 类中的方法 io.agentscope.core.state.SessionInfo
Get the number of state components stored in this session.
getConfig() - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport
Get the transport configuration.
getConfig() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
 
getConfirmResults() - 类中的方法 io.agentscope.core.event.UserConfirmResultEvent
 
getConnectionState() - 异常错误类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportException
Get the connection state.
getConnectTimeout() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
Get the connect timeout.
getConnectTimeout() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketRequest
Get the connection timeout.
getConnectTimeout() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
Get the connect timeout.
getContent() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
getContent() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaMessage
 
getContent() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
getContent() - 类中的方法 io.agentscope.core.message.Msg
Gets the immutable list of content blocks in this message.
getContent() - 类中的方法 io.agentscope.core.message.ToolUseBlock
Gets the raw content for streaming tool calls.
getContent() - 类中的方法 io.agentscope.core.model.ChatResponse
Gets the content blocks containing the response content.
getContent() - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata
已过时。
Gets the content block.
getContent() - 类中的方法 io.agentscope.core.skill.util.MarkdownSkillParser.ParsedMarkdown
已过时。
Get the markdown content (without frontmatter).
getContent() - 类中的方法 io.agentscope.core.tool.builtin.TodoTools.TodoItem
 
getContentAsList() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
Get content as List (for multimodal messages).
getContentAsList() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
Get content as List (for multimodal messages).
getContentAsString() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
Get content as String (for text-only messages).
getContentAsString() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
Get content as String (for text-only messages).
getContentBlocks(Class<T>) - 类中的方法 io.agentscope.core.message.Msg
Get all content blocks of the specified type (type-safe).
getContentText() - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata
已过时。
Gets the text content from the content block.
getContext() - 类中的方法 io.agentscope.core.permission.PermissionEngine
Returns the underlying context (mode and working directories are read from it).
getContext() - 类中的方法 io.agentscope.core.state.AgentState
Defensive copy of the conversation buffer.
getContext() - 类中的方法 io.agentscope.core.tool.ToolCallParam
已过时。
getConversationHistory() - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig
已过时。
Gets the conversation history for context-aware retrieval.
getCreated() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
getCreatedAt() - 类中的方法 io.agentscope.core.event.AgentEvent
 
getCreatedAt() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
getCreatedAt() - 类中的方法 io.agentscope.core.state.Task
 
getCurIter() - 类中的方法 io.agentscope.core.state.AgentState
 
getCurrentIter() - 类中的方法 io.agentscope.core.event.ExceedMaxItersEvent
 
getCurrentIteration() - 类中的方法 io.agentscope.core.hook.PreSummaryEvent
已过时。
Get the current iteration count when summary was triggered.
getCurrentPlanFile() - 类中的方法 io.agentscope.core.state.PlanModeContextState
 
getCurrentSkillBox() - 类中的方法 io.agentscope.core.skill.DynamicSkillMiddleware
Returns the most recently materialised SkillBox, or null when no skills are visible yet (e.g. before the first call()).
getData() - 类中的方法 io.agentscope.core.event.ToolResultDataDeltaEvent
 
getData() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopePublicKeyResponse
 
getData() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIInputAudio
 
getData() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIReasoningDetail
 
getData() - 类中的方法 io.agentscope.core.message.Base64Source
Gets the Base64-encoded media data.
getDecisionReason() - 类中的方法 io.agentscope.core.permission.PermissionDecision
 
getDefault() - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportFactory
Get the default HttpTransport instance.
getDefaultConfig() - 类中的方法 io.agentscope.core.rag.GenericRAGHook
已过时。
Gets the default retrieval configuration.
getDefaultConfig() - 类中的方法 io.agentscope.core.rag.KnowledgeRetrievalTools
已过时。
Gets the default retrieval configuration.
getDefaultContext() - 类中的方法 io.agentscope.core.tool.ToolkitConfig
已过时。
Use RuntimeContext instead.
getDefaultSessionId() - 类中的方法 io.agentscope.core.ReActAgent
Returns the builder-time fallback sessionId, used when a call's RuntimeContext carries no sessionId.
getDelta() - 类中的方法 io.agentscope.core.event.DataBlockDeltaEvent
 
getDelta() - 类中的方法 io.agentscope.core.event.TextBlockDeltaEvent
 
getDelta() - 类中的方法 io.agentscope.core.event.ThinkingBlockDeltaEvent
 
getDelta() - 类中的方法 io.agentscope.core.event.ToolCallDeltaEvent
 
getDelta() - 类中的方法 io.agentscope.core.event.ToolResultTextDeltaEvent
 
getDelta() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIChoice
 
getDenyRules() - 类中的方法 io.agentscope.core.permission.PermissionContextState
 
getDenyRules() - 类中的方法 io.agentscope.core.permission.PermissionEngine
Read-only view of the engine's current deny-rule table.
getDepth() - 类中的方法 io.agentscope.core.agent.EventSource
已过时。
 
getDescription() - 接口中的方法 io.agentscope.core.agent.Agent
Get the description of this agent.
getDescription() - 类中的方法 io.agentscope.core.agent.AgentBase
 
getDescription() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolFunction
 
getDescription() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaToolFunction
 
getDescription() - 类中的方法 io.agentscope.core.formatter.openai.dto.JsonSchema
 
getDescription() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction
 
getDescription() - 类中的方法 io.agentscope.core.model.ToolSchema
Gets the tool description.
getDescription() - 类中的方法 io.agentscope.core.skill.AgentSkill
已过时。
Gets the skill description.
getDescription() - 类中的方法 io.agentscope.core.state.Task
 
getDescription() - 接口中的方法 io.agentscope.core.tool.AgentTool
Gets the description of the tool.
getDescription() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
 
getDescription() - 类中的方法 io.agentscope.core.tool.SkillToolGroup
Returns the enhanced description that includes a reminder about the skill binding.
getDescription() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig
Gets the description override.
getDescription() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentTool
 
getDescription() - 类中的方法 io.agentscope.core.tool.ToolBase
 
getDescription() - 类中的方法 io.agentscope.core.tool.ToolGroup
Gets the description of this tool group.
getDetail() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIImageUrl
 
getDocId() - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata
已过时。
Gets the document ID.
getDone() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
getDoneReason() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
getEffectiveErrorCode() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
Get the effective error code, handling both standard and non-standard formats.
getEffectiveErrorMessage() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
Get the effective error message, handling both standard and non-standard formats.
getEffectiveGenerateOptions() - 类中的方法 io.agentscope.core.hook.PreReasoningEvent
已过时。
Get the effective generation options.
getEffectiveGenerateOptions() - 类中的方法 io.agentscope.core.hook.PreSummaryEvent
已过时。
Get the effective generation options.
getEffectiveMessage() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIChoice
Get the effective message (either message or delta).
getEmbedding() - 类中的方法 io.agentscope.core.rag.model.Document
已过时。
Gets the embedding vector.
getEmbeddings() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingResponse
 
getEmitter() - 类中的方法 io.agentscope.core.tool.ToolCallParam
Gets the ToolEmitter for streaming tool output.
getEnableCitation() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
getEnableCodeInterpreter() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getEnableSearch() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getEnableSearchExtension() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
getEnableSource() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
getEnableThinking() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getEndpointPath() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the endpoint path for the API request.
getEndpointType() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest
Gets the endpoint type for endpoint selection.
getError() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
getError() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
getError() - 类中的方法 io.agentscope.core.hook.ErrorEvent
已过时。
Get the error that occurred.
getErrorCode() - 异常错误类中的方法 io.agentscope.core.model.DashScopeHttpClient.DashScopeHttpException
 
getErrorCode() - 异常错误类中的方法 io.agentscope.core.model.exception.OpenAIException
 
getErrorMessage(Throwable) - 类中的静态方法 io.agentscope.core.util.ExceptionUtils
Extracts the most informative error message from an exception.
getEvalCount() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
getEvalDuration() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
getEventTypes() - 类中的方法 io.agentscope.core.agent.StreamOptions
Get the set of event types that should be streamed.
getExecutable() - 类中的方法 io.agentscope.core.tool.coding.CommandValidator.ValidationResult
 
getExecutionConfig() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the execution configuration for timeout and retry behavior.
getExecutionConfig() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getExecutionConfig() - 类中的方法 io.agentscope.core.tool.ToolkitConfig
Get the execution configuration for timeout and retry.
getExecutorService() - 类中的方法 io.agentscope.core.tool.ToolkitConfig
Get the custom executor service if provided.
getExtension(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Extract file extension from path or URL.
getExtra() - 类中的方法 io.agentscope.core.agent.RuntimeContext
View of string-keyed attributes; mutating the returned map affects this context.
getExtraParams() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getF16KV() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getFinalMessage() - 类中的方法 io.agentscope.core.hook.PostCallEvent
已过时。
Get the final response message returned by the agent.
getFinishReason() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeChoice
 
getFinishReason() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeOutput
 
getFinishReason() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIChoice
 
getFinishReason() - 类中的方法 io.agentscope.core.model.ChatResponse
Gets the reason the model stopped generating tokens.
getFirstChoice() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeOutput
Get the first choice if available.
getFirstChoice() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
Get the first choice if available.
getFirstContentBlock() - 类中的方法 io.agentscope.core.message.Msg
Get the first content block, or null if empty.
getFirstContentBlock(Class<T>) - 类中的方法 io.agentscope.core.message.Msg
Get the first content block of the specified type (type-safe).
getForcedSearch() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
getFormat() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
getFormat() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIInputAudio
 
getFormat() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIReasoningDetail
 
getFormat() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getFps() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
getFps() - 类中的方法 io.agentscope.core.message.VideoBlock
Gets the frames per second (FPS) of the video.
getFrequencyPenalty() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getFrequencyPenalty() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getFrequencyPenalty() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the frequency penalty.
getFrequencyPenalty() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getFunction() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeTool
 
getFunction() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall
 
getFunction() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaTool
 
getFunction() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaToolCall
 
getFunction() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAITool
 
getFunction() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall
 
getGenerateOptions() - 类中的方法 io.agentscope.core.hook.ReasoningEvent
已过时。
Get the generation options.
getGenerateOptions() - 类中的方法 io.agentscope.core.hook.SummaryEvent
已过时。
Get the generation options.
getGenerateOptions() - 类中的方法 io.agentscope.core.ReActAgent
Gets the configured generation options for this agent.
getGenerateReason() - 类中的方法 io.agentscope.core.event.RequestStopEvent
The GenerateReason to assign to the returned Msg.
getGenerateReason() - 类中的方法 io.agentscope.core.message.Msg
Gets the reason why this message was generated.
getGotoReasoningMsgs() - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
已过时。
Get the messages to add before going back to reasoning.
getHeaders() - 类中的方法 io.agentscope.core.model.transport.HttpRequest
Get the request headers.
getHeaders() - 类中的方法 io.agentscope.core.model.transport.HttpResponse
Get the response headers.
getHeaders() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketRequest
Get the request headers.
getHeaders() - 异常错误类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportException
Get the request headers.
getHint() - 类中的方法 io.agentscope.core.event.HintBlockEvent
 
getHint() - 类中的方法 io.agentscope.core.message.HintBlock
Gets the hint text.
getHintSource() - 类中的方法 io.agentscope.core.event.HintBlockEvent
Returns the sender or origin of this hint.
getHooks() - 类中的方法 io.agentscope.core.agent.AgentBase
Get the list of hooks for this agent.
getHost() - 类中的方法 io.agentscope.core.credential.OllamaCredential
 
getHost() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
Get the proxy server hostname or IP address.
getHttpVersion() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
Get the HTTP version.
getId() - 类中的方法 io.agentscope.core.credential.CredentialBase
 
getId() - 类中的方法 io.agentscope.core.event.AgentEvent
 
getId() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall
 
getId() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIReasoningDetail
 
getId() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
getId() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall
 
getId() - 类中的方法 io.agentscope.core.message.DataBlock
Gets the identifier of this data block.
getId() - 类中的方法 io.agentscope.core.message.HintBlock
Gets the unique identifier of this hint block.
getId() - 类中的方法 io.agentscope.core.message.Msg
Gets the unique identifier of this message.
getId() - 类中的方法 io.agentscope.core.message.ToolResultBlock
Gets the tool call ID.
getId() - 类中的方法 io.agentscope.core.message.ToolUseBlock
Gets the unique identifier of this tool call.
getId() - 类中的方法 io.agentscope.core.model.ChatResponse
Gets the unique identifier for this response.
getId() - 类中的方法 io.agentscope.core.rag.model.Document
已过时。
Gets the document ID.
getId() - 类中的方法 io.agentscope.core.state.Task
 
getImage() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
getImages() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaMessage
 
getImageTokens() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeUsage
 
getImageUrl() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
 
getIncludeReasoning() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getIncludeUsage() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIStreamOptions
 
getIncrementalChunk() - 类中的方法 io.agentscope.core.hook.ReasoningChunkEvent
已过时。
Get only the new content generated in this streaming event.
getIncrementalChunk() - 类中的方法 io.agentscope.core.hook.SummaryChunkEvent
已过时。
Get only the new content generated in this streaming event.
getIncrementalOutput() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getIndex() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeChoice
 
getIndex() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall
 
getIndex() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIChoice
 
getIndex() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIReasoningDetail
 
getIndex() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall
 
getInitialBackoff() - 类中的方法 io.agentscope.core.model.ExecutionConfig
Gets the initial backoff duration.
getInput() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest
 
getInput() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingRequest
 
getInput() - 类中的方法 io.agentscope.core.message.ToolUseBlock
Gets the input parameters for the tool.
getInput() - 类中的方法 io.agentscope.core.tool.ToolCallParam
Gets the input parameters for the tool call.
getInputAudio() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
 
getInputMessages() - 类中的方法 io.agentscope.core.hook.PreCallEvent
已过时。
Get the input messages for the agent call.
getInputMessages() - 类中的方法 io.agentscope.core.hook.PreReasoningEvent
已过时。
Get the messages that will be sent to LLM for reasoning.
getInputMessages() - 类中的方法 io.agentscope.core.hook.PreSummaryEvent
已过时。
Get the messages that will be sent to LLM for summary generation.
getInputTokens() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeUsage
 
getInputTokens() - 类中的方法 io.agentscope.core.model.ChatUsage
Gets the number of input tokens used.
getInstance() - 类中的静态方法 io.agentscope.core.shutdown.GracefulShutdownManager
 
getInterruptFlag() - 类中的方法 io.agentscope.core.agent.AgentBase
已过时。
No-op stub.
getInterruptSource() - 类中的方法 io.agentscope.core.agent.AgentBase
已过时。
Returns USER. Per-session interrupt source is on AgentState.interruptControl().
getJsonCodec() - 类中的静态方法 io.agentscope.core.util.JsonUtils
Get the global JsonCodec instance.
getJsonSchema() - 类中的方法 io.agentscope.core.formatter.ResponseFormat
 
getKeepAlive() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingRequest
 
getKeepAlive() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
getKeepAlive() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getKeepAliveDuration() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
Get the keep-alive duration for idle connections.
getKey() - 枚举类中的方法 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
getKnowledgeBase() - 类中的方法 io.agentscope.core.rag.GenericRAGHook
已过时。
Gets the knowledge base used by this hook.
getKnowledgeBase() - 类中的方法 io.agentscope.core.rag.KnowledgeRetrievalTools
已过时。
Gets the knowledge base used by this tool.
getLabel() - 类中的方法 io.agentscope.core.event.SubagentExposedEvent
 
getLastModified() - 类中的方法 io.agentscope.core.state.SessionInfo
Get the last modification timestamp.
getLimit() - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig
已过时。
Gets the maximum number of documents to retrieve.
getList(String, String, String, Class<T>) - 接口中的方法 io.agentscope.core.state.AgentStateStore
Get a list of state values.
getList(String, String, String, Class<T>) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
 
getList(String, String, String, Class<T>) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
 
getLoadDuration() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingResponse
 
getLoadDuration() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
getLocation() - 类中的方法 io.agentscope.core.skill.repository.AgentSkillRepositoryInfo
Gets the repository location.
getLogitsAll() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getLogprobs() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIChoice
 
getLogprobs() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getLongTermMemory() - 类中的方法 io.agentscope.core.memory.StaticLongTermMemoryHook
已过时。
Gets the long-term memory instance used by this hook.
getLowVRAM() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getMainGPU() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getManagedTransportCount() - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportFactory
Get the number of managed transports.
getMaxAttempts() - 类中的方法 io.agentscope.core.model.ExecutionConfig
Gets the maximum number of attempts.
getMaxBackoff() - 类中的方法 io.agentscope.core.model.ExecutionConfig
Gets the maximum backoff duration.
getMaxCacheBytes() - 类中的方法 io.agentscope.core.state.ToolContextState
 
getMaxCacheFiles() - 类中的方法 io.agentscope.core.state.ToolContextState
 
getMaxCompletionTokens() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getMaxCompletionTokens() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the maximum number of completion tokens to generate.
getMaxFrames() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
getMaxFrames() - 类中的方法 io.agentscope.core.message.VideoBlock
Gets the maximum number of frames to capture from the video.
getMaxIdleConnections() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
Get the maximum number of idle connections in the pool.
getMaxIterations() - 类中的方法 io.agentscope.core.hook.PreSummaryEvent
已过时。
Get the maximum iterations configured for the agent.
getMaxIters() - 类中的方法 io.agentscope.core.event.ExceedMaxItersEvent
 
getMaxIters() - 类中的方法 io.agentscope.core.ReActAgent
 
getMaxPixels() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
getMaxPixels() - 类中的方法 io.agentscope.core.message.ImageBlock
Gets the maximum pixel threshold for input image.
getMaxPixels() - 类中的方法 io.agentscope.core.message.VideoBlock
Gets the maximum pixel threshold for input video frames.
getMaxTokens() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getMaxTokens() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getMaxTokens() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the maximum number of tokens to generate.
getMaxTokens() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getMcpName() - 类中的方法 io.agentscope.core.tool.ToolBase
 
getMediaType() - 类中的方法 io.agentscope.core.message.Base64Source
Gets the MIME type of the media content.
getMemory() - 类中的方法 io.agentscope.core.hook.HookEvent
已过时。
Convenient access to the agent's conversation context wrapped as a read-only Memory view.
getMemory() - 类中的方法 io.agentscope.core.memory.StaticLongTermMemoryHook
已过时。
Gets the memory instance used by this hook.
getMessage() - 类中的方法 io.agentscope.core.agent.Event
已过时。
Get the message content.
getMessage() - 异常错误类中的方法 io.agentscope.core.exception.CompositeAgentException
 
getMessage() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeChoice
 
getMessage() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopePublicKeyResponse
 
getMessage() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeResponse
 
getMessage() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
getMessage() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIChoice
 
getMessage() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIError
 
getMessage() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
getMessage() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
Get the detailed error message including response body for better debugging.
getMessage() - 异常错误类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportException
 
getMessage() - 类中的方法 io.agentscope.core.permission.PermissionDecision
 
getMessageId() - 类中的方法 io.agentscope.core.agent.Event
已过时。
Get the message ID (delegates to Msg.getId()).
getMessages() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeInput
 
getMessages() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
getMessages() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getMessages() - 类中的方法 io.agentscope.core.memory.AgentStateMemoryView
已过时。
 
getMessages() - 类中的方法 io.agentscope.core.memory.InMemoryMemory
已过时。
Retrieves all non-null messages from memory.
getMessages() - 接口中的方法 io.agentscope.core.memory.Memory
已过时。
Retrieves all messages stored in memory.
getMessages() - 类中的方法 io.agentscope.core.memory.StateBackedMemory
已过时。
 
getMetadata() - 类中的方法 io.agentscope.core.event.AgentEvent
Returns optional metadata attached to this event.
getMetadata() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getMetadata() - 类中的方法 io.agentscope.core.message.Msg
Gets the metadata associated with this message.
getMetadata() - 类中的方法 io.agentscope.core.message.ThinkingBlock
Gets the metadata associated with this thinking block.
getMetadata() - 类中的方法 io.agentscope.core.message.ToolResultBlock
Gets the metadata associated with the tool result.
getMetadata() - 类中的方法 io.agentscope.core.message.ToolUseBlock
Gets the provider-specific metadata.
getMetadata() - 类中的方法 io.agentscope.core.model.ChatResponse
Gets the metadata from the model provider.
getMetadata() - 类中的方法 io.agentscope.core.rag.model.Document
已过时。
Gets the document metadata.
getMetadata() - 类中的方法 io.agentscope.core.skill.AgentSkill
已过时。
Gets the skill metadata.
getMetadata() - 类中的方法 io.agentscope.core.skill.util.MarkdownSkillParser.ParsedMarkdown
已过时。
Get the metadata extracted from YAML frontmatter.
getMetadata() - 类中的方法 io.agentscope.core.state.Task
 
getMetadataValue(String) - 类中的方法 io.agentscope.core.skill.AgentSkill
已过时。
Gets a metadata value by key.
getMethod() - 类中的方法 io.agentscope.core.model.transport.HttpRequest
Get the HTTP method.
getMiddlewares() - 类中的方法 io.agentscope.core.ReActAgent
Returns the immutable list of registered middlewares.
getMinP() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getMinPixels() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
getMinPixels() - 类中的方法 io.agentscope.core.message.ImageBlock
Gets the minimum pixel threshold for input image.
getMinPixels() - 类中的方法 io.agentscope.core.message.VideoBlock
Gets the minimum pixel threshold for input video frames.
getMirostat() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getMirostatEta() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getMirostatTau() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getModalities() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getMode() - 类中的方法 io.agentscope.core.permission.PermissionContextState
 
getModel() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest
 
getModel() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingRequest
 
getModel() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingResponse
 
getModel() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
getModel() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
getModel() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getModel() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
getModel() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getModel() - 类中的方法 io.agentscope.core.ReActAgent
 
getModelConfig() - 类中的方法 io.agentscope.core.ReActAgent
Returns the model-call configuration (retries, timeouts).
getModelExecutionConfig() - 类中的方法 io.agentscope.core.ReActAgent
Returns the per-model-call ExecutionConfig, or null if none was set.
getModelName() - 类中的方法 io.agentscope.core.hook.ReasoningEvent
已过时。
Get the model name.
getModelName() - 类中的方法 io.agentscope.core.hook.SummaryEvent
已过时。
Get the model name.
getModelName() - 类中的方法 io.agentscope.core.model.AnthropicChatModel
Gets the model name for logging and identification.
getModelName() - 类中的方法 io.agentscope.core.model.DashScopeChatModel
Gets the model name for logging and identification.
getModelName() - 类中的方法 io.agentscope.core.model.GeminiChatModel
 
getModelName() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the model name to use for generation.
getModelName() - 接口中的方法 io.agentscope.core.model.Model
Get model name for logging and identification.
getModelName() - 异常错误类中的方法 io.agentscope.core.model.ModelException
Gets the name of the model that caused the error.
getModelName() - 类中的方法 io.agentscope.core.model.OllamaChatModel
 
getModelName() - 类中的方法 io.agentscope.core.model.OpenAIChatModel
Gets the model name for logging and identification.
getN() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getName() - 接口中的方法 io.agentscope.core.agent.Agent
Get the name of this agent.
getName() - 类中的方法 io.agentscope.core.agent.AgentBase
 
getName() - 类中的方法 io.agentscope.core.event.AgentStartEvent
 
getName() - 类中的方法 io.agentscope.core.event.CustomEvent
Returns the kind of notification.
getName() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeFunction
 
getName() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
getName() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolFunction
 
getName() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaFunction
 
getName() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaMessage
 
getName() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaToolFunction
 
getName() - 类中的方法 io.agentscope.core.formatter.openai.dto.JsonSchema
 
getName() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIFunction
 
getName() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
getName() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction
 
getName() - 类中的方法 io.agentscope.core.message.DataBlock
Gets the optional name of this data block.
getName() - 类中的方法 io.agentscope.core.message.Msg
Gets the optional name of this message.
getName() - 类中的方法 io.agentscope.core.message.ToolResultBlock
Gets the tool name.
getName() - 类中的方法 io.agentscope.core.message.ToolUseBlock
Gets the name of the tool to execute.
getName() - 类中的方法 io.agentscope.core.model.ToolSchema
Gets the tool name.
getName() - 类中的方法 io.agentscope.core.skill.AgentSkill
已过时。
Gets the skill name.
getName() - 接口中的方法 io.agentscope.core.tool.AgentTool
Gets the name of the tool.
getName() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
 
getName() - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
Gets the unique name of this MCP client.
getName() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentTool
 
getName() - 类中的方法 io.agentscope.core.tool.ToolBase
 
getName() - 类中的方法 io.agentscope.core.tool.ToolGroup
Gets the name of this tool group.
getNonProxyHosts() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
Get the set of hosts that should bypass the proxy.
getNumBatch() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getNumCtx() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getNumGPU() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getNumKeep() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getNumPredict() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getNumThread() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getObject() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
getObjectMapper() - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
Get the underlying ObjectMapper for advanced operations.
getOptionOrDefault(GenerateOptions, GenerateOptions, Function<GenerateOptions, T>) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
Get an option value from options or fall back to defaultOptions.
getOptions() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingRequest
 
getOptions() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
getOrganization() - 类中的方法 io.agentscope.core.credential.OpenAICredential
 
getOriginDir() - 类中的方法 io.agentscope.core.skill.AgentSkill
已过时。
Returns the absolute path to this skill's on-disk source directory, when available.
getOutput() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeResponse
 
getOutput() - 类中的方法 io.agentscope.core.message.ToolResultBlock
Gets the output content blocks.
getOutputSchema() - 类中的方法 io.agentscope.core.model.ToolSchema
Gets the optional tool output schema as a JSON Schema.
getOutputSchema() - 接口中的方法 io.agentscope.core.tool.AgentTool
Gets the optional output schema for this tool in JSON Schema format.
getOutputSchema() - 类中的方法 io.agentscope.core.tool.mcp.McpTool
 
getOutputTokens() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeUsage
 
getOutputTokens() - 类中的方法 io.agentscope.core.model.ChatUsage
Gets the number of output tokens used.
getOwner() - 类中的方法 io.agentscope.core.state.Task
 
getParallelToolCalls() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getParallelToolCalls() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getParallelToolCalls() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets whether parallel tool calls are enabled.
getParam() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIError
 
getParameters() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest
 
getParameters() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolFunction
 
getParameters() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaToolFunction
 
getParameters() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction
 
getParameters() - 类中的方法 io.agentscope.core.model.ToolSchema
Gets the tool parameters as a JSON Schema.
getParameters() - 接口中的方法 io.agentscope.core.tool.AgentTool
Gets the parameters schema for this tool in JSON Schema format.
getParameters() - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
 
getParameters() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentTool
 
getParameters() - 类中的方法 io.agentscope.core.tool.ToolBase
 
getParentSessionId() - 类中的方法 io.agentscope.core.agent.EventSource
已过时。
 
getPassword() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
Get the authentication password.
getPath() - 类中的方法 io.agentscope.core.agent.EventSource
已过时。
 
getPayload() - 类中的方法 io.agentscope.core.rag.model.Document
已过时。
Gets the custom payload from document metadata.
getPayload() - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata
已过时。
Gets the custom payload metadata.
getPayloadValue(String) - 类中的方法 io.agentscope.core.rag.model.Document
已过时。
Gets a specific payload value by key.
getPayloadValue(String) - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata
已过时。
Gets a specific payload value by key.
getPayloadValueAs(String, Class<T>) - 类中的方法 io.agentscope.core.rag.model.Document
已过时。
Gets a specific payload value by key and converts it to the specified type.
getPenalizeNewline() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getPendingToolCalls() - 类中的方法 io.agentscope.core.interruption.InterruptContext
Get the list of tool calls that were pending when the interruption occurred.
getPermissionContext() - 类中的方法 io.agentscope.core.ReActAgent
已过时。
Use getAgentState(userId, sessionId).getPermissionContext() instead.
getPermissionContext() - 类中的方法 io.agentscope.core.state.AgentState
 
getPermissionEngine() - 类中的方法 io.agentscope.core.ReActAgent
已过时。
Use getAgentState(userId, sessionId).getPermissionContext() instead.
getPermissionMode(String, String) - 类中的方法 io.agentscope.core.ReActAgent
Returns the current PermissionMode for the given (userId, sessionId) session.
getPingInterval() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
Get the ping interval for heartbeat (OkHttp only).
getPlanModeContext() - 类中的方法 io.agentscope.core.state.AgentState
 
getPort() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
Get the proxy server port.
getPrediction() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getPrependSearchResult() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
getPresencePenalty() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getPresencePenalty() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getPresencePenalty() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the presence penalty.
getPresencePenalty() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getPresetArguments() - 类中的方法 io.agentscope.core.tool.mcp.McpTool
Gets the preset arguments configured for this tool.
getPriority() - 类中的方法 io.agentscope.core.tool.builtin.TodoTools.TodoItem
 
getPromptEvalCount() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingResponse
 
getPromptEvalCount() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
getPromptEvalDuration() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
getPromptTokens() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage
 
getPromptTokensDetails() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage
 
getProvider() - 异常错误类中的方法 io.agentscope.core.model.ModelException
Gets the provider of the model that caused the error.
getProxyConfig() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
Get the proxy configuration.
getProxyConfig() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
Get the proxy configuration.
getPublicKey() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopePublicKeyResponse.PublicKeyData
 
getPublicKeyId() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopePublicKeyResponse.PublicKeyData
 
getReactConfig() - 类中的方法 io.agentscope.core.ReActAgent
Returns the reasoning-loop configuration (maxIters, stopOnReject).
getReadFileCache() - 类中的方法 io.agentscope.core.state.ToolContextState
Snapshot of the cache list at call time.
getReadTimeout() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
Get the read timeout.
getReadTimeout() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
Get the read timeout.
getReason() - 类中的方法 io.agentscope.core.event.RequestStopEvent
Human-readable description of why the stop was requested.
getReason() - 类中的方法 io.agentscope.core.tool.coding.CommandValidator.ValidationResult
 
getReason() - 异常错误类中的方法 io.agentscope.core.tool.ToolSuspendException
Gets the user-defined reason for suspension.
getReasoningContent() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
getReasoningContent() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
getReasoningDetails() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
getReasoningEffort() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getReasoningEffort() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the reasoning effort level for o1 models.
getReasoningMessage() - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
已过时。
Get the reasoning result message from LLM.
getReasoningTokens() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage.CompletionTokensDetails
 
getRefusal() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
getRejectedPredictionTokens() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage.CompletionTokensDetails
 
getRepeatLastN() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getRepeatPenalty() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getRepetitionPenalty() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getReplyId() - 类中的方法 io.agentscope.core.event.AgentEndEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.AgentStartEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.DataBlockDeltaEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.DataBlockEndEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.DataBlockStartEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.ExceedMaxItersEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.ExternalExecutionResultEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.HintBlockEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.ModelCallEndEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.ModelCallStartEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.RequireExternalExecutionEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.RequireUserConfirmEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.TextBlockDeltaEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.TextBlockEndEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.TextBlockStartEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.ThinkingBlockDeltaEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.ThinkingBlockEndEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.ThinkingBlockStartEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.ToolCallDeltaEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.ToolCallEndEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.ToolCallStartEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.ToolResultDataDeltaEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.ToolResultEndEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.ToolResultStartEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.ToolResultTextDeltaEvent
 
getReplyId() - 类中的方法 io.agentscope.core.event.UserConfirmResultEvent
 
getReplyId() - 类中的方法 io.agentscope.core.state.AgentState
 
getRepositoryInfo() - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
Gets metadata about this repository.
getRepositoryInfo() - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
 
getRepositoryInfo() - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
 
getRequestId() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopePublicKeyResponse
 
getRequestId() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeResponse
 
getResource(String) - 类中的方法 io.agentscope.core.skill.AgentSkill
已过时。
Gets the resource content by path.
getResourcePaths() - 类中的方法 io.agentscope.core.skill.AgentSkill
已过时。
Gets all resource paths for this skill.
getResources() - 类中的方法 io.agentscope.core.skill.AgentSkill
已过时。
Gets the skill resources.
getResponseBody() - 异常错误类中的方法 io.agentscope.core.model.DashScopeHttpClient.DashScopeHttpException
 
getResponseBody() - 异常错误类中的方法 io.agentscope.core.model.exception.OpenAIException
 
getResponseBody() - 异常错误类中的方法 io.agentscope.core.model.OllamaHttpClient.OllamaHttpException
 
getResponseBody() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
Get the response body if available.
getResponseFormat() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getResponseFormat() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getResponseFormat() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the response format for structured output.
getResult() - 类中的方法 io.agentscope.core.event.AgentResultEvent
 
getResultFormat() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getRetryOn() - 类中的方法 io.agentscope.core.model.ExecutionConfig
Gets the retry predicate.
getRole() - 类中的方法 io.agentscope.core.event.AgentStartEvent
 
getRole() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
getRole() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaMessage
 
getRole() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
getRole() - 类中的方法 io.agentscope.core.message.Msg
Gets the role of the message sender.
getRootDirectory() - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
Returns the configured root directory (for diagnostics).
getRules() - 类中的方法 io.agentscope.core.event.ConfirmResult
New permission rules to register with the engine when ConfirmResult.confirmed is true.
getRuntimeContext() - 类中的方法 io.agentscope.core.agent.AgentBase
Returns the current per-call RuntimeContext, or null when the agent keeps no per-call scope.
getRuntimeContext() - 类中的方法 io.agentscope.core.ReActAgent
 
getRuntimeContext() - 类中的方法 io.agentscope.core.tool.ToolCallParam
Gets the runtime context for this tool call.
getSchema() - 类中的方法 io.agentscope.core.formatter.openai.dto.JsonSchema
 
getScope() - 类中的方法 io.agentscope.core.tool.ToolGroup
Gets the scope of this tool group.
getScore() - 类中的方法 io.agentscope.core.rag.model.Document
已过时。
Gets the similarity score.
getScoreThreshold() - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig
已过时。
Gets the minimum similarity score threshold.
getSearchOptions() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getSearchStrategy() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
getSeed() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getSeed() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getSeed() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the random seed for deterministic generation.
getSeed() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getServiceTier() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getSessionCount() - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
Total number of (userId, sessionId) slots currently stored.
getSessionDir(String, String) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
Returns the directory under which all state files for (userId, sessionId) live.
getSessionId() - 类中的方法 io.agentscope.core.agent.EventSource
已过时。
 
getSessionId() - 类中的方法 io.agentscope.core.agent.RuntimeContext
 
getSessionId() - 类中的方法 io.agentscope.core.event.AgentStartEvent
 
getSessionId() - 类中的方法 io.agentscope.core.event.SubagentExposedEvent
 
getSessionId() - 类中的方法 io.agentscope.core.state.AgentState
 
getSessionId() - 类中的方法 io.agentscope.core.state.SessionInfo
Get the unique identifier for this session.
getShutdownTimeoutSignal() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
Returns a Mono that completes when the shutdown timeout is reached.
getSize() - 类中的方法 io.agentscope.core.state.SessionInfo
Get the size of the session storage.
getSkill(String) - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
Gets a skill by its name.
getSkill(String) - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
Gets a skill by name.
getSkill(String) - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
 
getSkill(String) - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Gets a skill by ID (latest version).
getSkillContent() - 类中的方法 io.agentscope.core.skill.AgentSkill
已过时。
Gets the skill content.
getSkillId() - 类中的方法 io.agentscope.core.skill.AgentSkill
已过时。
Gets a unique identifier for this skill.
getSkillPrompt() - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Gets the skill system prompt for registered skills.
getSkillPrompt(SkillFilter) - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Gets the skill system prompt filtered by the given SkillFilter.
getSkillPromptProvider() - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Exposes the skill prompt provider so callers (e.g.
getSkillSystemPrompt() - 类中的方法 io.agentscope.core.skill.AgentSkillPromptProvider
已过时。
Gets the skill system prompt for the agent with all skills included.
getSkillSystemPrompt(SkillFilter) - 类中的方法 io.agentscope.core.skill.AgentSkillPromptProvider
已过时。
Gets the skill system prompt filtered by the given SkillFilter.
getSocketAddress() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
Get the socket address for this proxy.
getSortedHooks() - 类中的方法 io.agentscope.core.agent.AgentBase
Get hooks sorted by priority (lower value = higher priority).
getSource() - 类中的方法 io.agentscope.core.agent.Event
已过时。
Returns the originating subagent descriptor, or null if this event was emitted by the top-level agent.
getSource() - 类中的方法 io.agentscope.core.event.AgentEvent
Returns the source path identifying the originating agent.
getSource() - 类中的方法 io.agentscope.core.interruption.InterruptContext
Get the source of the interruption.
getSource() - 类中的方法 io.agentscope.core.interruption.InterruptControl
 
getSource() - 类中的方法 io.agentscope.core.message.AudioBlock
Gets the source of this audio content.
getSource() - 类中的方法 io.agentscope.core.message.DataBlock
Gets the source of this data block.
getSource() - 类中的方法 io.agentscope.core.message.HintBlock
Returns the sender or origin of this hint.
getSource() - 类中的方法 io.agentscope.core.message.ImageBlock
Gets the source of this image.
getSource() - 类中的方法 io.agentscope.core.message.VideoBlock
Gets the source of this video content.
getSource() - 类中的方法 io.agentscope.core.skill.AgentSkill
已过时。
Gets the skill source identifier.
getSource() - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
Gets the source identifier of this repository.
getSource() - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
 
getSource() - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
 
getState() - 类中的方法 io.agentscope.core.event.ToolResultEndEvent
 
getState() - 类中的方法 io.agentscope.core.message.ToolResultBlock
Gets the tool result state.
getState() - 类中的方法 io.agentscope.core.message.ToolUseBlock
Gets the tool call state.
getState() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
 
getState() - 类中的方法 io.agentscope.core.state.Task
 
getStateStore() - 类中的方法 io.agentscope.core.ReActAgent
Returns the AgentStateStore configured for state persistence, or null.
getStateStore() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig
Gets the session for conversation state management.
getStatus() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
getStatus() - 类中的方法 io.agentscope.core.tool.builtin.TodoTools.TodoItem
 
getStatusCode() - 异常错误类中的方法 io.agentscope.core.model.DashScopeHttpClient.DashScopeHttpException
 
getStatusCode() - 异常错误类中的方法 io.agentscope.core.model.exception.OpenAIException
 
getStatusCode() - 异常错误类中的方法 io.agentscope.core.model.OllamaHttpClient.OllamaHttpException
 
getStatusCode() - 类中的方法 io.agentscope.core.model.transport.HttpResponse
Get the HTTP status code.
getStatusCode() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
Get the HTTP status code if available.
getStop() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getStop() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getStop() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getStopSequences() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getStore() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getStores() - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
已过时。
Gets all stores in priority order.
getStream() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
getStream() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getStream() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets whether streaming mode is enabled.
getStreamOptions() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getStreamOptions() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig
Gets the stream options for event forwarding.
getStrict() - 类中的方法 io.agentscope.core.formatter.openai.dto.JsonSchema
 
getStrict() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction
 
getStrict() - 类中的方法 io.agentscope.core.model.ToolSchema
Gets the strict mode flag for schema validation.
getStrict() - 接口中的方法 io.agentscope.core.tool.AgentTool
Gets strict mode configuration for this tool schema.
getStrict() - 类中的方法 io.agentscope.core.tool.SchemaOnlyTool
 
getStructuredData(boolean) - 类中的方法 io.agentscope.core.message.Msg
Extract structured data from message metadata and convert it to the java.util.Map.
getStructuredData(Class<T>) - 类中的方法 io.agentscope.core.message.Msg
Extract structured data from message metadata and convert it to the specified type.
getStructuredInput() - 类中的方法 io.agentscope.core.agent.user.UserInputData
已过时。
Gets the structured input data as a key-value map.
getSubagentId() - 类中的方法 io.agentscope.core.event.SubagentExposedEvent
 
getSubject() - 类中的方法 io.agentscope.core.state.Task
 
getSubscriberCount() - 类中的方法 io.agentscope.core.agent.AgentBase
Get the total number of subscribers across all MsgHubs.
getSuggestedRules() - 类中的方法 io.agentscope.core.permission.PermissionDecision
 
getSummary() - 类中的方法 io.agentscope.core.state.AgentState
 
getSummaryMessage() - 类中的方法 io.agentscope.core.hook.PostSummaryEvent
已过时。
Get the summary result message.
getSysPrompt() - 类中的方法 io.agentscope.core.ReActAgent
 
getSystemFingerprint() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
getSystemMessage() - 类中的方法 io.agentscope.core.hook.HookEvent
已过时。
Returns the current unified system message, or null if none has been set.
getSystemPrompt() - 类中的方法 io.agentscope.core.ReActAgent
Returns the system prompt (alias for ReActAgent.getSysPrompt()).
getTaskId() - 类中的方法 io.agentscope.core.agent.EventSource
已过时。
 
getTasks() - 类中的方法 io.agentscope.core.state.TaskContextState
 
getTasksContext() - 类中的方法 io.agentscope.core.state.AgentState
 
getTemperature() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getTemperature() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getTemperature() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the temperature for text generation.
getTemperature() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getText() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
getText() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeOutput
 
getText() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
 
getText() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIReasoningDetail
 
getText() - 类中的方法 io.agentscope.core.message.TextBlock
Gets the text content of this block.
getTextContent() - 类中的方法 io.agentscope.core.message.Msg
Extracts plain text content from this message.
getTfsZ() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getThink() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
getThinking() - 类中的方法 io.agentscope.core.message.ThinkingBlock
Gets the thinking/reasoning content of this block.
getThinkingBudget() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getThinkingBudget() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the maximum number of tokens for reasoning/thinking content.
getThinkOption() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getThoughtSignature() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIFunction
 
getThoughtSignature() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall
 
getTime() - 类中的方法 io.agentscope.core.model.ChatUsage
Gets the execution time.
getTimeout() - 类中的方法 io.agentscope.core.model.ExecutionConfig
Gets the timeout duration.
getTimestamp() - 类中的方法 io.agentscope.core.hook.HookEvent
已过时。
Get the timestamp when event was created.
getTimestamp() - 类中的方法 io.agentscope.core.interruption.InterruptContext
Get the timestamp when the interruption occurred.
getTimestamp() - 类中的方法 io.agentscope.core.message.Msg
Gets the timestamp of this message.
getTool(String) - 类中的方法 io.agentscope.core.tool.Toolkit
Retrieves a tool by its name.
getToolCall() - 类中的方法 io.agentscope.core.event.ConfirmResult
 
getToolCallId() - 类中的方法 io.agentscope.core.event.ToolCallDeltaEvent
 
getToolCallId() - 类中的方法 io.agentscope.core.event.ToolCallEndEvent
 
getToolCallId() - 类中的方法 io.agentscope.core.event.ToolCallStartEvent
 
getToolCallId() - 类中的方法 io.agentscope.core.event.ToolResultDataDeltaEvent
 
getToolCallId() - 类中的方法 io.agentscope.core.event.ToolResultEndEvent
 
getToolCallId() - 类中的方法 io.agentscope.core.event.ToolResultStartEvent
 
getToolCallId() - 类中的方法 io.agentscope.core.event.ToolResultTextDeltaEvent
 
getToolCallId() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
getToolCallId() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaMessage
 
getToolCallId() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
getToolCallName() - 类中的方法 io.agentscope.core.event.ToolCallDeltaEvent
 
getToolCallName() - 类中的方法 io.agentscope.core.event.ToolCallEndEvent
 
getToolCallName() - 类中的方法 io.agentscope.core.event.ToolCallStartEvent
 
getToolCallName() - 类中的方法 io.agentscope.core.event.ToolResultDataDeltaEvent
 
getToolCallName() - 类中的方法 io.agentscope.core.event.ToolResultEndEvent
 
getToolCallName() - 类中的方法 io.agentscope.core.event.ToolResultStartEvent
 
getToolCallName() - 类中的方法 io.agentscope.core.event.ToolResultTextDeltaEvent
 
getToolCalls() - 类中的方法 io.agentscope.core.event.RequireExternalExecutionEvent
 
getToolCalls() - 类中的方法 io.agentscope.core.event.RequireUserConfirmEvent
 
getToolCalls() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
getToolCalls() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaMessage
 
getToolCalls() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
getToolChoice() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getToolChoice() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
getToolChoice() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getToolChoice() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the tool choice configuration for controlling how the model uses tools.
getToolContext() - 类中的方法 io.agentscope.core.state.AgentState
 
getToolExecutionConfig() - 类中的方法 io.agentscope.core.ReActAgent
Returns the per-tool-call ExecutionConfig, or null if none was set.
getToolExecutionContext() - 类中的方法 io.agentscope.core.agent.RuntimeContext
Returns the tool execution context provided at build time, if any.
getToolExecutionContext() - 类中的方法 io.agentscope.core.ReActAgent
Returns the ToolExecutionContext bound at build time, or null if none.
getToolGroup(String) - 类中的方法 io.agentscope.core.tool.Toolkit
Get a tool group by name.
getToolkit() - 接口中的方法 io.agentscope.core.agent.Agent
Returns the agent's live Toolkit, or null if this agent type does not maintain one.
getToolkit() - 类中的方法 io.agentscope.core.hook.ActingEvent
已过时。
Get the toolkit instance.
getToolkit() - 类中的方法 io.agentscope.core.ReActAgent
Returns this agent's toolkit (a per-instance deep copy made at build time).
getToolName() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig
Gets the tool name override.
getToolNames() - 类中的方法 io.agentscope.core.tool.Toolkit
Gets the names of all registered tools.
getToolResult() - 类中的方法 io.agentscope.core.hook.PostActingEvent
已过时。
Get the tool execution result.
getToolResultMsg() - 类中的方法 io.agentscope.core.hook.PostActingEvent
已过时。
Get the tool result message.
getToolResults() - 类中的方法 io.agentscope.core.event.ExternalExecutionResultEvent
 
getTools() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getTools() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
getTools() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getTools() - 类中的方法 io.agentscope.core.tool.ToolGroup
Gets a defensive copy of the tools in this group.
getToolSchemas() - 类中的方法 io.agentscope.core.tool.Toolkit
Get tool schemas as ToolSchema objects.
getToolSchemas(Collection<String>) - 类中的方法 io.agentscope.core.tool.Toolkit
Get tool schemas filtered by an explicitly supplied set of active group names, independent of this toolkit's shared per-group activation flags.
getToolUse() - 类中的方法 io.agentscope.core.hook.ActingEvent
已过时。
Get the tool being executed.
getToolUseBlock() - 类中的方法 io.agentscope.core.tool.ToolCallParam
Gets the tool use block containing call metadata.
getTopK() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getTopK() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the top-k sampling parameter.
getTopK() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getTopLogprobs() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getTopP() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
getTopP() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getTopP() - 类中的方法 io.agentscope.core.model.GenerateOptions
Gets the top-p (nucleus sampling) parameter.
getTopP() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getTotalDuration() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingResponse
 
getTotalDuration() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
getTotalPixels() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
getTotalPixels() - 类中的方法 io.agentscope.core.message.VideoBlock
Gets the total pixels of all frames extracted from the video (single image pixels × total frames).
getTotalTokens() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeUsage
 
getTotalTokens() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage
 
getTotalTokens() - 类中的方法 io.agentscope.core.model.ChatUsage
Gets the total number of tokens used.
getTransport() - 类中的方法 io.agentscope.core.model.OpenAIClient
Get the HTTP transport used by this client.
getTruncate() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingRequest
 
getTruncate() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getType() - 类中的方法 io.agentscope.core.agent.Event
已过时。
Get the event type.
getType() - 类中的方法 io.agentscope.core.credential.AnthropicCredential
 
getType() - 类中的方法 io.agentscope.core.credential.DashScopeCredential
 
getType() - 类中的方法 io.agentscope.core.credential.DeepSeekCredential
 
getType() - 类中的方法 io.agentscope.core.credential.GeminiCredential
 
getType() - 类中的方法 io.agentscope.core.credential.KimiCredential
 
getType() - 类中的方法 io.agentscope.core.credential.OllamaCredential
 
getType() - 类中的方法 io.agentscope.core.credential.OpenAICredential
 
getType() - 类中的方法 io.agentscope.core.credential.XAICredential
 
getType() - 类中的方法 io.agentscope.core.event.AgentEndEvent
 
getType() - 类中的方法 io.agentscope.core.event.AgentEvent
 
getType() - 类中的方法 io.agentscope.core.event.AgentResultEvent
 
getType() - 类中的方法 io.agentscope.core.event.AgentStartEvent
 
getType() - 类中的方法 io.agentscope.core.event.CustomEvent
 
getType() - 类中的方法 io.agentscope.core.event.DataBlockDeltaEvent
 
getType() - 类中的方法 io.agentscope.core.event.DataBlockEndEvent
 
getType() - 类中的方法 io.agentscope.core.event.DataBlockStartEvent
 
getType() - 类中的方法 io.agentscope.core.event.ExceedMaxItersEvent
 
getType() - 类中的方法 io.agentscope.core.event.ExternalExecutionResultEvent
 
getType() - 类中的方法 io.agentscope.core.event.HintBlockEvent
 
getType() - 类中的方法 io.agentscope.core.event.ModelCallEndEvent
 
getType() - 类中的方法 io.agentscope.core.event.ModelCallStartEvent
 
getType() - 类中的方法 io.agentscope.core.event.RequestStopEvent
 
getType() - 类中的方法 io.agentscope.core.event.RequireExternalExecutionEvent
 
getType() - 类中的方法 io.agentscope.core.event.RequireUserConfirmEvent
 
getType() - 类中的方法 io.agentscope.core.event.SubagentExposedEvent
 
getType() - 类中的方法 io.agentscope.core.event.TextBlockDeltaEvent
 
getType() - 类中的方法 io.agentscope.core.event.TextBlockEndEvent
 
getType() - 类中的方法 io.agentscope.core.event.TextBlockStartEvent
 
getType() - 类中的方法 io.agentscope.core.event.ThinkingBlockDeltaEvent
 
getType() - 类中的方法 io.agentscope.core.event.ThinkingBlockEndEvent
 
getType() - 类中的方法 io.agentscope.core.event.ThinkingBlockStartEvent
 
getType() - 类中的方法 io.agentscope.core.event.ToolCallDeltaEvent
 
getType() - 类中的方法 io.agentscope.core.event.ToolCallEndEvent
 
getType() - 类中的方法 io.agentscope.core.event.ToolCallStartEvent
 
getType() - 类中的方法 io.agentscope.core.event.ToolResultDataDeltaEvent
 
getType() - 类中的方法 io.agentscope.core.event.ToolResultEndEvent
 
getType() - 类中的方法 io.agentscope.core.event.ToolResultStartEvent
 
getType() - 类中的方法 io.agentscope.core.event.ToolResultTextDeltaEvent
 
getType() - 类中的方法 io.agentscope.core.event.UserConfirmResultEvent
 
getType() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeTool
 
getType() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall
 
getType() - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaTool
 
getType() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
 
getType() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIError
 
getType() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIReasoningDetail
 
getType() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAITool
 
getType() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall
 
getType() - 类中的方法 io.agentscope.core.formatter.ResponseFormat
 
getType() - 类中的方法 io.agentscope.core.hook.HookEvent
已过时。
Get the event type.
getType() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
Get the proxy type.
getType() - 类中的方法 io.agentscope.core.skill.repository.AgentSkillRepositoryInfo
Gets the repository type.
getTypicalP() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getUpdatedInput() - 类中的方法 io.agentscope.core.permission.PermissionDecision
 
getUploadDir() - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Gets the upload directory for skill files.
getUrl() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIImageUrl
 
getUrl() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIVideoUrl
 
getUrl() - 类中的方法 io.agentscope.core.message.URLSource
Gets the URL that points to the media content.
getUrl() - 类中的方法 io.agentscope.core.model.transport.HttpRequest
Get the request URL.
getUrl() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketRequest
Get the WebSocket URL.
getUrl() - 异常错误类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportException
Get the WebSocket URL.
getUsage() - 类中的方法 io.agentscope.core.event.ModelCallEndEvent
 
getUsage() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeResponse
 
getUsage() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
getUsage() - 类中的方法 io.agentscope.core.message.Msg
Gets the token usage information associated with this message.
getUsage() - 类中的方法 io.agentscope.core.model.ChatResponse
Gets the token usage information for this response.
getUseMLock() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getUseMMap() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getUseNUMA() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getUser() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
getUserAgent() - 类中的静态方法 io.agentscope.core.Version
Generate standard User-Agent string for all models.
getUserId() - 类中的方法 io.agentscope.core.agent.RuntimeContext
 
getUserId() - 类中的方法 io.agentscope.core.state.AgentState
Nullable; null = anonymous / single-tenant context.
getUserMessage() - 类中的方法 io.agentscope.core.interruption.InterruptContext
Get the user message that triggered the interruption (if any).
getUserMessage() - 类中的方法 io.agentscope.core.interruption.InterruptControl
 
getUsername() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
Get the authentication username.
getValue() - 枚举类中的方法 io.agentscope.core.event.AgentEventType
 
getValue() - 类中的方法 io.agentscope.core.event.CustomEvent
Returns the arbitrary JSON-serializable payload whose schema depends on CustomEvent.getName().
getValue() - 枚举类中的方法 io.agentscope.core.message.ToolCallState
 
getValue() - 枚举类中的方法 io.agentscope.core.message.ToolResultState
 
getValue() - 枚举类中的方法 io.agentscope.core.permission.PermissionBehavior
 
getValue() - 枚举类中的方法 io.agentscope.core.permission.PermissionMode
 
getVectorName() - 类中的方法 io.agentscope.core.rag.model.Document
已过时。
Gets the document vector name.
getVectorName() - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig
已过时。
Gets the vector name for retrieval.
getVideo() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
getVideoAsList() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
Get video as frame list.
getVideoAsString() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
Get video as URL string.
getVideoTokens() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeUsage
 
getVideoUrl() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
 
getVocabOnly() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
getWire() - 枚举类中的方法 io.agentscope.core.state.Task.State
 
getWorkingDirectories() - 类中的方法 io.agentscope.core.permission.PermissionContextState
 
getWriteTimeout() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
Get the write timeout.
getWriteTimeout() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
Get the write timeout.
GLMFormatter - io.agentscope.core.formatter.openai中的类
Formatter for Zhipu GLM models (glm-4, glm-3-turbo, etc.).
GLMFormatter() - 类的构造器 io.agentscope.core.formatter.openai.GLMFormatter
 
GLMMultiAgentFormatter - io.agentscope.core.formatter.openai中的类
Multi-agent formatter for Zhipu GLM models.
GLMMultiAgentFormatter() - 类的构造器 io.agentscope.core.formatter.openai.GLMMultiAgentFormatter
 
GLMMultiAgentFormatter(String) - 类的构造器 io.agentscope.core.formatter.openai.GLMMultiAgentFormatter
 
GOING_AWAY - 记录类中的静态变量 io.agentscope.core.model.transport.websocket.CloseInfo
Going away (1001).
gotoReasoning() - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
已过时。
Request to go back to reasoning phase without adding any messages.
gotoReasoning(Msg) - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
已过时。
Request to go back to reasoning phase with a single message.
gotoReasoning(List<Msg>) - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
已过时。
Request to go back to reasoning phase with multiple messages.
GracefulShutdownConfig - io.agentscope.core.shutdown中的记录类
Configuration for graceful shutdown behavior of the agent system.
GracefulShutdownConfig(Duration, PartialReasoningPolicy) - 记录类的构造器 io.agentscope.core.shutdown.GracefulShutdownConfig
Compact constructor for validation.
GracefulShutdownManager - io.agentscope.core.shutdown中的类
Global manager for graceful shutdown lifecycle and active request tracking.
GracefulShutdownMiddleware - io.agentscope.core.shutdown中的类
System middleware that integrates graceful shutdown into the agent lifecycle.
GracefulShutdownMiddleware(GracefulShutdownManager) - 类的构造器 io.agentscope.core.shutdown.GracefulShutdownMiddleware
 
group(String) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
Set the tool group name.

H

handleInput(String, String, List<Msg>, Class<?>) - 类中的方法 io.agentscope.core.agent.user.StreamUserInput
已过时。
Handle user input from the configured input stream.
handleInput(String, String, List<Msg>, Class<?>) - 接口中的方法 io.agentscope.core.agent.user.UserInputBase
已过时。
Handle user input and return the input data.
handleInterrupt(InterruptContext, Msg...) - 类中的方法 io.agentscope.core.agent.AgentBase
Handle an interruption that occurred during execution.
handleInterrupt(InterruptContext, Msg...) - 类中的方法 io.agentscope.core.agent.user.UserAgent
已过时。
Handle interrupt scenarios.
handleInterrupt(InterruptContext, Msg...) - 类中的方法 io.agentscope.core.ReActAgent
 
handleNull() - 类中的方法 io.agentscope.core.tool.DefaultToolResultConverter
Handle null result.
handleVoid() - 类中的方法 io.agentscope.core.tool.DefaultToolResultConverter
Handle void return type.
hasAuthentication() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
Check if authentication credentials are configured.
hasChanged(String, String) - 类中的静态方法 io.agentscope.core.state.ListHashUtil
Check if the list has changed based on hash comparison.
hasContentBlocks(Class<T>) - 类中的方法 io.agentscope.core.message.Msg
Check if this message has content blocks of the specified type (type-safe).
hasCustomExecutor() - 类中的方法 io.agentscope.core.tool.ToolkitConfig
Check if a custom executor service was provided.
hasFrontmatter() - 类中的方法 io.agentscope.core.skill.util.MarkdownSkillParser.ParsedMarkdown
已过时。
Check if frontmatter exists.
hashCode() - 记录类中的方法 io.agentscope.core.agent.config.ModelConfig
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.agent.config.ReactConfig
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.credential.ModelCard
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.exception.CompositeAgentException.AgentExceptionInfo
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.middleware.ActingInput
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.middleware.AgentInput
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.middleware.ModelCallInput
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.middleware.ReasoningInput
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.model.DashScopeHttpClient.PublicKeyResult
返回此对象的哈希代码值。
hashCode() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
hashCode() - 记录类中的方法 io.agentscope.core.model.ollama.ThinkOption.ThinkBoolean
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.model.ollama.ThinkOption.ThinkLevel
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.model.ToolChoice.Auto
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.model.ToolChoice.None
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.model.ToolChoice.Required
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.model.ToolChoice.Specific
返回此对象的哈希代码值。
hashCode() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
 
hashCode() - 记录类中的方法 io.agentscope.core.model.transport.websocket.CloseInfo
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.permission.AdditionalWorkingDirectory
返回此对象的哈希代码值。
hashCode() - 类中的方法 io.agentscope.core.permission.PermissionContextState
 
hashCode() - 类中的方法 io.agentscope.core.permission.PermissionDecision
 
hashCode() - 记录类中的方法 io.agentscope.core.permission.PermissionRule
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.shutdown.GracefulShutdownConfig
返回此对象的哈希代码值。
hashCode() - 记录类中的方法 io.agentscope.core.shutdown.ShutdownSessionBinding
已过时。
返回此对象的哈希代码值。
hashCode() - 类中的方法 io.agentscope.core.state.AgentState
 
hashCode() - 记录类中的方法 io.agentscope.core.state.legacy.ToolkitState
返回此对象的哈希代码值。
hashCode() - 类中的方法 io.agentscope.core.state.PlanModeContextState
 
hashCode() - 记录类中的方法 io.agentscope.core.state.ReadCacheEntry
返回此对象的哈希代码值。
hashCode() - 类中的方法 io.agentscope.core.state.Task
 
hashCode() - 类中的方法 io.agentscope.core.state.TaskContextState
 
hashCode() - 记录类中的方法 io.agentscope.core.tool.mcp.McpMeta
返回此对象的哈希代码值。
hashCode() - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
已过时。
 
hasMediaContent(Msg) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
Check if a message contains multimodal content (images, audio, video).
hasPayloadKey(String) - 类中的方法 io.agentscope.core.rag.model.Document
已过时。
Checks if the document payload contains a specific key.
hasPayloadKey(String) - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata
已过时。
Checks if the payload contains a specific key.
hasSkillFile(Path) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
已过时。
Checks if a directory contains a SKILL.md file.
hasStructuredData() - 类中的方法 io.agentscope.core.message.Msg
Check if this message contains structured data in metadata.
hasSubscribers() - 类中的方法 io.agentscope.core.agent.AgentBase
Check if this agent has any subscribers.
header(String, String) - 类中的方法 io.agentscope.core.model.transport.HttpRequest.Builder
Add a header to the request.
header(String, String) - 类中的方法 io.agentscope.core.model.transport.HttpResponse.Builder
Add a header to the response.
header(String, String) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketRequest.Builder
Add a header.
header(String, String) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Adds an HTTP header (only applicable for HTTP transports).
headers(Map<String, String>) - 类中的方法 io.agentscope.core.model.transport.HttpRequest.Builder
Add multiple headers to the request.
headers(Map<String, String>) - 类中的方法 io.agentscope.core.model.transport.HttpResponse.Builder
Add multiple headers to the response.
headers(Map<String, String>) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketRequest.Builder
Add multiple headers.
headers(Map<String, String>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Sets multiple HTTP headers (only applicable for HTTP transports).
HIGH - 记录类中的静态变量 io.agentscope.core.model.ollama.ThinkOption.ThinkLevel
Predefined constant for high-effort thinking.
HINT - 枚举类 中的枚举常量 io.agentscope.core.agent.EventType
已过时。
Hint event - Information from RAG, memory, or planning systems.
HINT_BLOCK - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
HintBlock - io.agentscope.core.message中的类
A content block that provides hints to the LLM during reasoning.
HintBlock(String, String) - 类的构造器 io.agentscope.core.message.HintBlock
 
HintBlock(String, String, String) - 类的构造器 io.agentscope.core.message.HintBlock
 
HintBlockEvent - io.agentscope.core.event中的类
One-shot hint block event.
HintBlockEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.HintBlockEvent
 
HintBlockEvent(String, String, String, String, String, String) - 类的构造器 io.agentscope.core.event.HintBlockEvent
 
hook(Hook) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Adds a hook for monitoring and intercepting agent execution events.
Hook - io.agentscope.core.hook中的接口
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead. Middleware exposes onAgent, onReasoning, onActing, onModelCall, and onSystemPrompt hook points and replaces this entire hook system.
HookEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
HookEvent(HookEventType, Agent) - 类的构造器 io.agentscope.core.hook.HookEvent
已过时。
Constructor for HookEvent.
HookEventType - io.agentscope.core.hook中的枚举类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
hooks(List<Hook>) - 类中的方法 io.agentscope.core.agent.user.UserAgent.Builder
已过时。
Set the hooks for monitoring agent execution.
hooks(List<Hook>) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Adds multiple hooks for monitoring and intercepting agent execution events.
host(String) - 类中的方法 io.agentscope.core.credential.OllamaCredential.Builder
 
host(String) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig.Builder
Set the proxy server hostname or IP address.
http(String, int) - 类中的静态方法 io.agentscope.core.model.transport.ProxyConfig
Create a simple HTTP proxy configuration without authentication.
http(String, int, String, String) - 类中的静态方法 io.agentscope.core.model.transport.ProxyConfig
Create an HTTP proxy configuration with authentication.
HTTP - 枚举类 中的枚举常量 io.agentscope.core.model.transport.ProxyType
HTTP/HTTPS proxy.
HTTP_1_1 - 枚举类 中的枚举常量 io.agentscope.core.model.transport.HttpVersion
HTTP version 1.1
HTTP_2 - 枚举类 中的枚举常量 io.agentscope.core.model.transport.HttpVersion
HTTP version 2
httpOptions(HttpOptions) - 类中的方法 io.agentscope.core.model.GeminiChatModel.Builder
Sets the HTTP options for the client.
HttpRequest - io.agentscope.core.model.transport中的类
HTTP request encapsulation for the transport layer.
HttpRequest.Builder - io.agentscope.core.model.transport中的类
Builder for HttpRequest.
HttpResponse - io.agentscope.core.model.transport中的类
HTTP response encapsulation for the transport layer.
HttpResponse.Builder - io.agentscope.core.model.transport中的类
Builder for HttpResponse.
httpTransport(HttpTransport) - 类中的方法 io.agentscope.core.model.DashScopeChatModel.Builder
Sets the HTTP transport to use.
httpTransport(HttpTransport) - 类中的方法 io.agentscope.core.model.OllamaChatModel.Builder
Sets the HTTP transport to use.
httpTransport(HttpTransport) - 类中的方法 io.agentscope.core.model.OpenAIChatModel.Builder
Sets the HTTP transport to use.
HttpTransport - io.agentscope.core.model.transport中的接口
HTTP transport layer interface for making HTTP requests.
HttpTransportConfig - io.agentscope.core.model.transport中的类
Configuration for HTTP transport layer.
HttpTransportConfig.Builder - io.agentscope.core.model.transport中的类
Builder for HttpTransportConfig.
HttpTransportException - io.agentscope.core.model.transport中的异常错误类
Exception thrown when HTTP transport operations fail.
HttpTransportException(String) - 异常错误类的构造器 io.agentscope.core.model.transport.HttpTransportException
Create a new HttpTransportException with a message.
HttpTransportException(String, int, String) - 异常错误类的构造器 io.agentscope.core.model.transport.HttpTransportException
Create a new HttpTransportException for an HTTP error response.
HttpTransportException(String, int, String, Throwable) - 异常错误类的构造器 io.agentscope.core.model.transport.HttpTransportException
Create a new HttpTransportException for an HTTP error response with cause.
HttpTransportException(String, Throwable) - 异常错误类的构造器 io.agentscope.core.model.transport.HttpTransportException
Create a new HttpTransportException with a message and cause.
HttpTransportFactory - io.agentscope.core.model.transport中的类
Factory for managing HttpTransport instances.
httpVersion(HttpVersion) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
Set the HTTP version to use.
HttpVersion - io.agentscope.core.model.transport中的枚举类
HTTP version.

I

id - 类中的变量 io.agentscope.core.message.Msg.Builder
 
id(String) - 类中的方法 io.agentscope.core.credential.AnthropicCredential.Builder
 
id(String) - 类中的方法 io.agentscope.core.credential.DashScopeCredential.Builder
 
id(String) - 类中的方法 io.agentscope.core.credential.DeepSeekCredential.Builder
 
id(String) - 类中的方法 io.agentscope.core.credential.GeminiCredential.Builder
 
id(String) - 类中的方法 io.agentscope.core.credential.KimiCredential.Builder
 
id(String) - 类中的方法 io.agentscope.core.credential.OllamaCredential.Builder
 
id(String) - 类中的方法 io.agentscope.core.credential.OpenAICredential.Builder
 
id(String) - 类中的方法 io.agentscope.core.credential.XAICredential.Builder
 
id(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall.Builder
 
id(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall.Builder
 
id(String) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
 
id(String) - 类中的方法 io.agentscope.core.message.DataBlock.Builder
Sets the identifier for the data block.
id(String) - 类中的方法 io.agentscope.core.message.Msg.Builder
Sets the unique identifier for the message.
id(String) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
 
id(String) - 类中的方法 io.agentscope.core.message.ToolResultBlock.Builder
Sets the tool call ID.
id(String) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
 
id(String) - 类中的方法 io.agentscope.core.message.ToolUseBlock.Builder
Sets the unique identifier for the tool call.
id(String) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
 
id(String) - 类中的方法 io.agentscope.core.model.ChatResponse.Builder
Sets the response identifier.
id(String) - 类中的方法 io.agentscope.core.state.Task.Builder
 
ignoreSsl(boolean) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
Set whether to ignore SSL certificate verification.
ignoreSsl(boolean) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
Set whether to ignore SSL certificate verification.
image(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart.Builder
 
image(String) - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
Create an image content part.
ImageBlock - io.agentscope.core.message中的类
Represents image content in a message with URL or Base64 source.
ImageBlock(Source) - 类的构造器 io.agentscope.core.message.ImageBlock
Creates a new image block with source.
ImageBlock.Builder - io.agentscope.core.message中的类
Builder for constructing ImageBlock instances.
imageUrl(OpenAIImageUrl) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart.Builder
 
imageUrl(String) - 类中的静态方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
Create an image content part.
imageUrl(String, String) - 类中的静态方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
Create an image content part with detail level.
IN_PROGRESS - 枚举类 中的枚举常量 io.agentscope.core.state.Task.State
 
includeActingChunk(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
Include or exclude tool execution chunk emissions.
includeActingChunks(boolean) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
已过时。
Includes tool streaming events (ActingChunkEvent).
includeReasoning(Boolean) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
includeReasoningChunk(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
Include or exclude incremental reasoning chunk emissions.
includeReasoningChunks(boolean) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
已过时。
Includes reasoning streaming events (ReasoningChunkEvent).
includeReasoningResult(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
Include or exclude the final consolidated reasoning result emission.
includeSummary(boolean) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
已过时。
Includes summary events (PreSummaryEvent/PostSummaryEvent).
includeSummaryChunk(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
Include or exclude summary chunk emissions.
includeSummaryChunks(boolean) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
已过时。
Includes summary streaming events (SummaryChunkEvent).
includeSummaryResult(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
Include or exclude the final consolidated summary result emission.
incremental(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions.Builder
Set whether to use incremental mode for streaming content.
incrementalOutput(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
index(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall.Builder
 
index(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall.Builder
 
inferAudioFormatFromMediaType(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Infer audio format string from MIME type.
initialBackoff(Duration) - 类中的方法 io.agentscope.core.model.ExecutionConfig.Builder
Sets the initial backoff duration for the first retry.
initializationTimeout(Duration) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Sets the initialization timeout duration.
initialize() - 类中的方法 io.agentscope.core.tool.mcp.McpAsyncClientWrapper
Initializes the async MCP client connection and caches available tools.
initialize() - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
Initializes the MCP client connection and caches available tools.
initialize() - 类中的方法 io.agentscope.core.tool.mcp.McpSyncClientWrapper
Initializes the sync MCP client connection and caches available tools.
initialized - 类中的变量 io.agentscope.core.tool.mcp.McpClientWrapper
Flag indicating whether the client has been initialized
InMemoryAgentStateStore - io.agentscope.core.state中的类
In-memory implementation of the AgentStateStore interface.
InMemoryAgentStateStore() - 类的构造器 io.agentscope.core.state.InMemoryAgentStateStore
 
InMemoryMemory - io.agentscope.core.memory中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Conversation context lives on AgentState.getContext(); this class is retained for source compatibility with 1.0.x user code.
InMemoryMemory() - 类的构造器 io.agentscope.core.memory.InMemoryMemory
已过时。
Constructor for InMemoryMemory.
input(DashScopeInput) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest.Builder
 
input(Map<String, Object>) - 类中的方法 io.agentscope.core.message.ToolUseBlock.Builder
Sets the input parameters for the tool.
input(Map<String, Object>) - 类中的方法 io.agentscope.core.tool.ToolCallParam.Builder
Sets the input parameters.
inputAudio(OpenAIInputAudio) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart.Builder
 
inputAudio(String, String) - 类中的静态方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
Create an audio content part.
inputHint(String) - 类中的方法 io.agentscope.core.agent.user.StreamUserInput.Builder
已过时。
Set the input hint prompt.
inputMethod(UserInputBase) - 类中的方法 io.agentscope.core.agent.user.UserAgent.Builder
已过时。
Set the input method for user interaction.
inputSchema(Map<String, Object>) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
 
inputStream(InputStream) - 类中的方法 io.agentscope.core.agent.user.StreamUserInput.Builder
已过时。
Set the input stream to read from.
inputTokens(int) - 类中的方法 io.agentscope.core.model.ChatUsage.Builder
Sets the number of input tokens.
insertTextFile(String, String, Integer) - 类中的方法 io.agentscope.core.tool.file.WriteFileTool
Insert content at the specified line number in a text file.
INSTANCE - 类中的静态变量 io.agentscope.core.tool.NoOpToolEmitter
Singleton instance.
InternalServerException - io.agentscope.core.model.exception中的异常错误类
Exception thrown when the server encounters an internal error (HTTP 5xx).
InternalServerException(String, int, String, String) - 异常错误类的构造器 io.agentscope.core.model.exception.InternalServerException
 
interrupt() - 接口中的方法 io.agentscope.core.agent.Agent
Interrupt the current agent execution.
interrupt() - 类中的方法 io.agentscope.core.agent.AgentBase
已过时。
Subclasses should implement per-session interrupt via RuntimeContext.
interrupt() - 类中的方法 io.agentscope.core.ReActAgent
已过时。
Use ReActAgent.interrupt(String, String) with explicit userId/sessionId.
interrupt(RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
Interrupts the in-flight call identified by the given RuntimeContext.
interrupt(RuntimeContext, Msg) - 类中的方法 io.agentscope.core.ReActAgent
Interrupts the in-flight call identified by the given RuntimeContext with an associated user message.
interrupt(InterruptSource) - 类中的方法 io.agentscope.core.agent.AgentBase
已过时。
Subclasses should implement per-session interrupt via RuntimeContext.
interrupt(InterruptSource) - 类中的方法 io.agentscope.core.ReActAgent
已过时。
Use ReActAgent.interrupt(String, String) with explicit userId/sessionId.
interrupt(Msg) - 接口中的方法 io.agentscope.core.agent.Agent
Interrupt the current agent execution with a user message.
interrupt(Msg) - 类中的方法 io.agentscope.core.agent.AgentBase
已过时。
Subclasses should implement per-session interrupt via RuntimeContext.
interrupt(Msg) - 类中的方法 io.agentscope.core.ReActAgent
已过时。
Use ReActAgent.interrupt(String, String, Msg) with explicit userId/sessionId.
interrupt(String, String) - 类中的方法 io.agentscope.core.ReActAgent
Interrupts the in-flight call for a specific (userId, sessionId) session.
interrupt(String, String, Msg) - 类中的方法 io.agentscope.core.ReActAgent
Interrupts the in-flight call for a specific (userId, sessionId) session with an associated user message.
InterruptContext - io.agentscope.core.interruption中的类
Context information about an interruption.
InterruptContext.Builder - io.agentscope.core.interruption中的类
Builder for InterruptContext.
interruptControl() - 类中的方法 io.agentscope.core.state.AgentState
The per-session interrupt signal for this state, created on first access.
InterruptControl - io.agentscope.core.interruption中的类
Per-session interrupt signal.
InterruptControl() - 类的构造器 io.agentscope.core.interruption.InterruptControl
 
INTERRUPTED - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
Agent was interrupted.
INTERRUPTED - 枚举类 中的枚举常量 io.agentscope.core.message.ToolResultState
 
interruptIfShuttingDown(String) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
 
InterruptSource - io.agentscope.core.interruption中的枚举类
Enum representing the source of an interruption.
io.agentscope.core - 程序包 io.agentscope.core
 
io.agentscope.core.agent - 程序包 io.agentscope.core.agent
 
io.agentscope.core.agent.accumulator - 程序包 io.agentscope.core.agent.accumulator
 
io.agentscope.core.agent.config - 程序包 io.agentscope.core.agent.config
Agent configuration value objects: ModelConfig for retry / fallback wiring and ReactConfig for reasoning-loop bounds.
io.agentscope.core.agent.user - 程序包 io.agentscope.core.agent.user
 
io.agentscope.core.credential - 程序包 io.agentscope.core.credential
Provider credentials for model authentication.
io.agentscope.core.event - 程序包 io.agentscope.core.event
 
io.agentscope.core.exception - 程序包 io.agentscope.core.exception
 
io.agentscope.core.formatter - 程序包 io.agentscope.core.formatter
 
io.agentscope.core.formatter.anthropic - 程序包 io.agentscope.core.formatter.anthropic
 
io.agentscope.core.formatter.dashscope - 程序包 io.agentscope.core.formatter.dashscope
 
io.agentscope.core.formatter.dashscope.dto - 程序包 io.agentscope.core.formatter.dashscope.dto
 
io.agentscope.core.formatter.gemini - 程序包 io.agentscope.core.formatter.gemini
 
io.agentscope.core.formatter.ollama - 程序包 io.agentscope.core.formatter.ollama
 
io.agentscope.core.formatter.ollama.dto - 程序包 io.agentscope.core.formatter.ollama.dto
 
io.agentscope.core.formatter.openai - 程序包 io.agentscope.core.formatter.openai
 
io.agentscope.core.formatter.openai.dto - 程序包 io.agentscope.core.formatter.openai.dto
 
io.agentscope.core.hook - 程序包 io.agentscope.core.hook
 
io.agentscope.core.hook.recorder - 程序包 io.agentscope.core.hook.recorder
 
io.agentscope.core.interruption - 程序包 io.agentscope.core.interruption
 
io.agentscope.core.memory - 程序包 io.agentscope.core.memory
 
io.agentscope.core.message - 程序包 io.agentscope.core.message
 
io.agentscope.core.middleware - 程序包 io.agentscope.core.middleware
 
io.agentscope.core.model - 程序包 io.agentscope.core.model
 
io.agentscope.core.model.exception - 程序包 io.agentscope.core.model.exception
 
io.agentscope.core.model.ollama - 程序包 io.agentscope.core.model.ollama
 
io.agentscope.core.model.transport - 程序包 io.agentscope.core.model.transport
 
io.agentscope.core.model.transport.websocket - 程序包 io.agentscope.core.model.transport.websocket
 
io.agentscope.core.permission - 程序包 io.agentscope.core.permission
Tool-permission evaluation engine for AgentScope Java.
io.agentscope.core.rag - 程序包 io.agentscope.core.rag
 
io.agentscope.core.rag.model - 程序包 io.agentscope.core.rag.model
 
io.agentscope.core.shutdown - 程序包 io.agentscope.core.shutdown
 
io.agentscope.core.skill - 程序包 io.agentscope.core.skill
 
io.agentscope.core.skill.repository - 程序包 io.agentscope.core.skill.repository
 
io.agentscope.core.skill.util - 程序包 io.agentscope.core.skill.util
 
io.agentscope.core.state - 程序包 io.agentscope.core.state
 
io.agentscope.core.state.legacy - 程序包 io.agentscope.core.state.legacy
 
io.agentscope.core.tool - 程序包 io.agentscope.core.tool
 
io.agentscope.core.tool.builtin - 程序包 io.agentscope.core.tool.builtin
 
io.agentscope.core.tool.coding - 程序包 io.agentscope.core.tool.coding
 
io.agentscope.core.tool.file - 程序包 io.agentscope.core.tool.file
 
io.agentscope.core.tool.mcp - 程序包 io.agentscope.core.tool.mcp
 
io.agentscope.core.tool.multimodal - 程序包 io.agentscope.core.tool.multimodal
 
io.agentscope.core.tool.subagent - 程序包 io.agentscope.core.tool.subagent
 
io.agentscope.core.tracing - 程序包 io.agentscope.core.tracing
 
io.agentscope.core.util - 程序包 io.agentscope.core.util
 
io.agentscope.core.workspace - 程序包 io.agentscope.core.workspace
Agent execution environment abstraction for AgentScope Java.
isAcceptingRequests() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
 
isActive() - 类中的方法 io.agentscope.core.tool.ToolGroup
Checks if this tool group is currently active.
isAllowed() - 类中的方法 io.agentscope.core.tool.coding.CommandValidator.ValidationResult
 
isAllowed(String) - 类中的方法 io.agentscope.core.skill.SkillFilter
Whether the given skill is allowed by this filter.
isAllowToolDeletion() - 类中的方法 io.agentscope.core.tool.ToolkitConfig
Check if tool deletion is allowed.
isAutoUploadSkill() - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Checks whether skill files are automatically uploaded.
isCheckRunning() - 类中的方法 io.agentscope.core.agent.AgentBase
已过时。
No longer enforced; per-session serialization handles concurrency.
isChunk() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
Check if this is a streaming chunk response.
isClientError() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
Check if this is a client error (4xx status code).
isClosed() - 类中的方法 io.agentscope.core.model.transport.JdkHttpTransport
Check if this transport has been closed.
isCommandAllowed(String) - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
Check if a command is in the whitelist.
isConcurrencySafe() - 类中的方法 io.agentscope.core.tool.ToolBase
 
isConfirmed() - 类中的方法 io.agentscope.core.event.ConfirmResult
 
isDangerousPath(String) - 类中的方法 io.agentscope.core.tool.ToolBase
 
isEmpty() - 记录类中的方法 io.agentscope.core.tool.mcp.McpMeta
Returns whether this meta contains no entries.
isEncryptionEnabled() - 类中的方法 io.agentscope.core.model.DashScopeHttpClient
Check if encryption is enabled.
isError() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopePublicKeyResponse
Check if this response represents an error.
isError() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeResponse
Check if this response represents an error.
isError() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
Check if this response represents an error.
isExternalTool() - 类中的方法 io.agentscope.core.tool.ToolBase
 
isExternalTool(String) - 类中的方法 io.agentscope.core.tool.Toolkit
Check if a tool is an external tool (requires execution outside the framework).
isFileExists(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Check if a file exists.
isForwardEvents() - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig
Gets whether to forward sub-agent events to the parent agent.
isGotoReasoningRequested() - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
已过时。
Check if a goto reasoning has been requested.
isHttpError() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
Check if this is an HTTP error (has status code).
isIgnoreSsl() - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig
Get whether SSL certificate verification should be ignored.
isIgnoreSsl() - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig
Get whether SSL certificate verification should be ignored.
isIncludeActingChunk() - 类中的方法 io.agentscope.core.agent.StreamOptions
Whether acting (tool execution) chunk emissions should be included.
isIncludeReasoningChunk() - 类中的方法 io.agentscope.core.agent.StreamOptions
Whether reasoning "chunk" emissions should be included.
isIncludeReasoningResult() - 类中的方法 io.agentscope.core.agent.StreamOptions
Whether the final reasoning result should be included.
isIncludeSummaryChunk() - 类中的方法 io.agentscope.core.agent.StreamOptions
Whether summary chunk emissions should be included.
isIncludeSummaryResult() - 类中的方法 io.agentscope.core.agent.StreamOptions
Whether the final summary result should be included.
isIncremental() - 类中的方法 io.agentscope.core.agent.StreamOptions
Check if incremental mode is enabled.
isInitialized() - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
Checks if this client has been initialized.
isInterrupted() - 类中的方法 io.agentscope.core.interruption.InterruptControl
 
isJarEnvironment() - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
Checks if running in a JAR environment.
isLast() - 类中的方法 io.agentscope.core.agent.Event
已过时。
Check if this is the last/complete message for this event.
isLazy() - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
Whether this repository only reads SKILL.md and defers support-file loading.
isLocalFile(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Check if a URL is a local file path (not a URL with protocol scheme).
isManaged(HttpTransport) - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportFactory
Check if a transport is currently managed.
isMcp() - 类中的方法 io.agentscope.core.tool.ToolBase
 
isMultimodal() - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
Check if this message has multimodal content.
isMultimodal() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
Check if this message has multimodal content.
isMultimodalModel(String) - 类中的静态方法 io.agentscope.core.model.DashScopeHttpClient
Check if a model is a multimodal model that requires the multimodal-generation API.
isNormal() - 记录类中的方法 io.agentscope.core.model.transport.websocket.CloseInfo
Check if this is a normal closure.
isOpen() - 类中的方法 io.agentscope.core.model.transport.websocket.JdkWebSocketConnection
 
isOpen() - 类中的方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketConnection
 
isOpen() - 接口中的方法 io.agentscope.core.model.transport.websocket.WebSocketConnection
Check if connection is open.
isOverlay() - 类中的方法 io.agentscope.core.skill.SkillFilter
Whether this filter is an overlay (partial override) rather than a standalone filter.
isParallel() - 类中的方法 io.agentscope.core.tool.ToolkitConfig
Whether tools should be executed in parallel.
isPathWithinCurrentDirectory(String) - 接口中的方法 io.agentscope.core.tool.coding.CommandValidator
Validate if a relative path (starting with ./ or .\) stays within the current directory.
isPendingToolRecoveryEnabled() - 类中的方法 io.agentscope.core.ReActAgent
Returns whether pending-tool-call recovery is enabled (HITL: resume tool calls left in a pending state across call() invocations).
isPlanActive() - 类中的方法 io.agentscope.core.state.PlanModeContextState
 
isReadOnly() - 类中的方法 io.agentscope.core.tool.ToolBase
 
isRetryable() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
Check if this error is retryable.
isServerError() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
Check if this is a server error (5xx status code).
isShutdownInterrupted() - 类中的方法 io.agentscope.core.state.AgentState
 
isSkillActive(String) - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Where the skill is active.
isStateInjected() - 类中的方法 io.agentscope.core.tool.ToolBase
 
isStopRequested() - 类中的方法 io.agentscope.core.hook.PostActingEvent
已过时。
Check if a stop has been requested.
isStopRequested() - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
已过时。
Check if a stop has been requested.
isStopRequested() - 类中的方法 io.agentscope.core.hook.PostSummaryEvent
已过时。
Check if a stop has been requested.
isSuccessful() - 类中的方法 io.agentscope.core.model.transport.HttpResponse
Check if the response indicates success (2xx status code).
isSuspended() - 类中的方法 io.agentscope.core.message.ToolResultBlock
Checks if this result is suspended for external execution.
isTrivial() - 类中的方法 io.agentscope.core.permission.PermissionContextState
Whether this context is "trivial" — built from PermissionContextState.Builder.build() with no further customisation.
isValidJsonObject(String) - 类中的静态方法 io.agentscope.core.util.JsonUtils
Check whether the given string is a valid JSON object (i.e. starts with '{' and can be parsed into a Map).
isWritable() - 类中的方法 io.agentscope.core.skill.repository.AgentSkillRepositoryInfo
Checks if the repository supports write operations.
isWriteable() - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
Checks if the repository supports write operations.
isWriteable() - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
 
isWriteable() - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
 

J

JacksonJsonCodec - io.agentscope.core.util中的类
Jackson-based implementation of JsonCodec.
JacksonJsonCodec() - 类的构造器 io.agentscope.core.util.JacksonJsonCodec
Creates a new JacksonJsonCodec with default ObjectMapper configuration.
JacksonJsonCodec(ObjectMapper) - 类的构造器 io.agentscope.core.util.JacksonJsonCodec
Creates a new JacksonJsonCodec with a custom ObjectMapper.
JdkHttpTransport - io.agentscope.core.model.transport中的类
Pure JDK implementation of the HttpTransport interface.
JdkHttpTransport(HttpClient, HttpTransportConfig) - 类的构造器 io.agentscope.core.model.transport.JdkHttpTransport
Create a new JdkHttpTransport with an existing HttpClient.
JdkHttpTransport.Builder - io.agentscope.core.model.transport中的类
Builder for JdkHttpTransport.
JdkWebSocketConnection<T> - io.agentscope.core.model.transport.websocket中的类
WebSocket connection implementation based on JDK WebSocket.
JdkWebSocketTransport - io.agentscope.core.model.transport.websocket中的类
WebSocket client implementation based on JDK 11+ HttpClient.
JsonCodec - io.agentscope.core.util中的接口
Interface for JSON serialization and deserialization operations.
JsonException - io.agentscope.core.util中的异常错误类
Runtime exception for JSON processing errors.
JsonException(String) - 异常错误类的构造器 io.agentscope.core.util.JsonException
Constructs a new JSON exception with the specified detail message.
JsonException(String, Throwable) - 异常错误类的构造器 io.agentscope.core.util.JsonException
Constructs a new JSON exception with the specified detail message and cause.
JsonException(Throwable) - 异常错误类的构造器 io.agentscope.core.util.JsonException
Constructs a new JSON exception with the specified cause.
JsonFileAgentStateStore - io.agentscope.core.state中的类
JSON file-based AgentStateStore implementation.
JsonFileAgentStateStore() - 类的构造器 io.agentscope.core.state.JsonFileAgentStateStore
Create a JsonFileAgentStateStore with the default root: ~/.agentscope/state.
JsonFileAgentStateStore(Path) - 类的构造器 io.agentscope.core.state.JsonFileAgentStateStore
Create a JsonFileAgentStateStore rooted at the given directory.
JsonlTraceExporter - io.agentscope.core.hook.recorder中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. The hook system is replaced by MiddlewareBase.
JsonlTraceExporter.Builder - io.agentscope.core.hook.recorder中的类
已过时。
 
jsonObject() - 类中的静态方法 io.agentscope.core.formatter.ResponseFormat
Create a JSON object response format.
jsonSchema(JsonSchema) - 类中的方法 io.agentscope.core.formatter.ResponseFormat.Builder
 
jsonSchema(JsonSchema) - 类中的静态方法 io.agentscope.core.formatter.ResponseFormat
Create a JSON Schema response format with structured output validation.
JsonSchema - io.agentscope.core.formatter.openai.dto中的类
JSON Schema definition for structured outputs.
JsonSchema() - 类的构造器 io.agentscope.core.formatter.openai.dto.JsonSchema
 
JsonSchema.Builder - io.agentscope.core.formatter.openai.dto中的类
 
JsonUtils - io.agentscope.core.util中的类
Utility class for accessing the global JsonCodec instance.

K

KEEP_ALIVE - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
keepAlive(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest.Builder
 
keepAlive(String) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
keepAliveDuration(Duration) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
Set the keep-alive duration for idle connections.
KimiCredential - io.agentscope.core.credential中的类
Credential for the Kimi (Moonshot AI) API.
KimiCredential.Builder - io.agentscope.core.credential中的类
 
knowledge(Knowledge) - 类中的方法 io.agentscope.core.ReActAgent.Builder
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. RAG is being redesigned; legacy adapters remain functional.
Knowledge - io.agentscope.core.rag中的接口
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. The rag package is removed; integrate retrieval at the application layer.
KnowledgeRetrievalTools - io.agentscope.core.rag中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. The rag package is removed; integrate retrieval at the application layer.
KnowledgeRetrievalTools(Knowledge) - 类的构造器 io.agentscope.core.rag.KnowledgeRetrievalTools
已过时。
Creates a new KnowledgeRetrievalTools instance with default configuration.
KnowledgeRetrievalTools(Knowledge, RetrieveConfig) - 类的构造器 io.agentscope.core.rag.KnowledgeRetrievalTools
已过时。
Creates a new KnowledgeRetrievalTools instance.
knowledges(List<Knowledge>) - 类中的方法 io.agentscope.core.ReActAgent.Builder
已过时, 待删除: 此 API 元素将从以后的版本中删除。

L

LegacyHookDispatcher - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Will be deleted together with the Hook system.
LegacyHookDispatcher(ReActAgent) - 类的构造器 io.agentscope.core.hook.LegacyHookDispatcher
已过时。
 
LegacyStateLoader - io.agentscope.core.state中的类
Utility for loading v1 session data into the 2.0 AgentState format.
level() - 记录类中的方法 io.agentscope.core.model.ollama.ThinkOption.ThinkLevel
返回 level 记录组件的值。
limit(int) - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig.Builder
已过时。
Sets the maximum number of documents to retrieve.
lines() - 记录类中的方法 io.agentscope.core.state.ReadCacheEntry
返回 lines 记录组件的值。
listDirectory(String) - 类中的方法 io.agentscope.core.tool.file.ReadFileTool
List files and directories in the specified directory.
ListHashUtil - io.agentscope.core.state中的类
Utility class for computing hash values of state lists.
listModels() - 类中的方法 io.agentscope.core.credential.CredentialBase
Enumerate the candidate models available under this credential.
listSessionIds(String) - 接口中的方法 io.agentscope.core.state.AgentStateStore
List session identifiers visible under the given user namespace.
listSessionIds(String) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
 
listSessionIds(String) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
 
listTools() - 类中的方法 io.agentscope.core.tool.mcp.McpAsyncClientWrapper
Lists all tools available from the MCP server.
listTools() - 类中的方法 io.agentscope.core.tool.mcp.McpClientWrapper
Lists all tools available from this MCP server.
listTools() - 类中的方法 io.agentscope.core.tool.mcp.McpSyncClientWrapper
Lists all tools available from the MCP server.
loadFrom(AgentStateStore, String, String) - 类中的方法 io.agentscope.core.memory.AgentStateMemoryView
已过时。
 
loadFrom(AgentStateStore, String, String) - 类中的方法 io.agentscope.core.memory.InMemoryMemory
已过时。
Load memory state from the store.
loadFrom(AgentStateStore, String, String) - 接口中的方法 io.agentscope.core.memory.Memory
已过时。
Load a previously saved message buffer (no-op when none exists).
loadFrom(AgentStateStore, String, String) - 类中的方法 io.agentscope.core.memory.StateBackedMemory
已过时。
 
loadFromLegacySession(AgentStateStore, String, String) - 类中的静态方法 io.agentscope.core.state.LegacyStateLoader
Load an AgentState from a v1 session.
loadSkill(Path, String, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
已过时。
Loads a skill by name from the given base directory.
loadSkillFromDirectory(Path, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
已过时。
Loads a skill from a specific directory, eagerly reading every non-hidden file in the skill tree into memory.
loadSkillFromDirectory(Path, String, boolean) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
已过时。
Loads a skill from a specific directory.
location(String) - 类中的方法 io.agentscope.core.model.GeminiChatModel.Builder
Sets the Google Cloud location (for Vertex AI).
LOGITS_ALL - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
logitsAll(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
logprobs(Boolean) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
longTermMemory(LongTermMemory) - 类中的方法 io.agentscope.core.ReActAgent.Builder
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Long-term memory is being redesigned around the upcoming reme base class. Hooks added through this path still work.
LongTermMemory - io.agentscope.core.memory中的接口
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Long-term memory is removed; conversation context now lives on AgentState.getContext(). Integrate any cross-session persistence at the application layer.
longTermMemoryAsyncRecord(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. See ReActAgent.Builder.longTermMemory.
longTermMemoryMode(LongTermMemoryMode) - 类中的方法 io.agentscope.core.ReActAgent.Builder
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. See ReActAgent.Builder.longTermMemory.
LongTermMemoryMode - io.agentscope.core.memory中的枚举类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Long-term memory is removed.
LongTermMemoryTools - io.agentscope.core.memory中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Long-term memory is removed.
LongTermMemoryTools(LongTermMemory) - 类的构造器 io.agentscope.core.memory.LongTermMemoryTools
已过时。
Creates a new tool adapter for the given long-term memory instance.
LOW - 记录类中的静态变量 io.agentscope.core.model.ollama.ThinkOption.ThinkLevel
Predefined constant for low-effort thinking.
LOW_VRAM - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
lowVRAM(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 

M

MAIN_GPU - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
mainGPU(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
MarkdownSkillParser - io.agentscope.core.skill.util中的类
已过时。
since 2.0.0. The skill package is removed; manage markdown skill catalogs in application code.
MarkdownSkillParser.ParsedMarkdown - io.agentscope.core.skill.util中的类
已过时。
Result of parsing markdown with frontmatter.
matchRule(String, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.ToolBase
Default rule matcher: a null ruleContent matches every invocation; any non-null pattern is rejected so subclasses can layer their own semantics on top.
MAX - 枚举类 中的枚举常量 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.SearchStrategy
With a more comprehensive search strategy, call multi-source search engines for more exhaustive search results, but response times may be longer
MAX_ITERATIONS - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
Maximum iterations reached.
maxAttempts(Integer) - 类中的方法 io.agentscope.core.model.ExecutionConfig.Builder
Sets the maximum number of attempts (including the initial attempt).
maxBackoff(Duration) - 类中的方法 io.agentscope.core.model.ExecutionConfig.Builder
Sets the maximum backoff duration between retries.
maxCacheBytes(double) - 类中的方法 io.agentscope.core.state.ToolContextState.Builder
 
maxCacheFiles(int) - 类中的方法 io.agentscope.core.state.ToolContextState.Builder
 
maxCompletionTokens(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
maxCompletionTokens(Integer) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the maximum number of completion tokens to generate.
maxFrames(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart.Builder
 
maxFrames(Integer) - 类中的方法 io.agentscope.core.message.VideoBlock.Builder
Sets the maximum number of frames to capture from the video.
maxIdleConnections(int) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
Set the maximum number of idle connections in the pool.
maxIters() - 记录类中的方法 io.agentscope.core.agent.config.ReactConfig
返回 maxIters 记录组件的值。
maxIters(int) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Sets the maximum number of reasoning-acting iterations.
maxPixels(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart.Builder
 
maxPixels(Integer) - 类中的方法 io.agentscope.core.message.ImageBlock.Builder
Sets the maximum pixel threshold for input image frames.
maxPixels(Integer) - 类中的方法 io.agentscope.core.message.VideoBlock.Builder
Sets the maximum pixel threshold for input video frames.
maxRetries() - 记录类中的方法 io.agentscope.core.agent.config.ModelConfig
返回 maxRetries 记录组件的值。
maxRetries(int) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Sets the model-call retry budget (max attempts including the first try).
maxTokens(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
maxTokens(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
maxTokens(Integer) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the maximum number of tokens to generate.
mcp(String) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
Marks the tool as an MCP tool and records the MCP server name.
McpAsyncClientWrapper - io.agentscope.core.tool.mcp中的类
Wrapper for asynchronous MCP clients using Project Reactor.
McpAsyncClientWrapper(String, McpAsyncClient) - 类的构造器 io.agentscope.core.tool.mcp.McpAsyncClientWrapper
Constructs a new asynchronous MCP client wrapper.
mcpClient(McpClientWrapper) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
已过时。
Set the MCP client to register.
mcpClient(McpClientWrapper) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
Set the MCP client to register.
McpClientBuilder - io.agentscope.core.tool.mcp中的类
Builder for creating MCP client wrappers with fluent configuration.
McpClientWrapper - io.agentscope.core.tool.mcp中的类
Abstract wrapper for MCP (Model Context Protocol) clients.
McpClientWrapper(String) - 类的构造器 io.agentscope.core.tool.mcp.McpClientWrapper
Constructs a new MCP client wrapper.
McpContentConverter - io.agentscope.core.tool.mcp中的类
Utility class for converting between MCP content types and AgentScope content blocks.
McpMeta - io.agentscope.core.tool.mcp中的记录类
Type-namespace marker for MCP (Model Context Protocol) request metadata.
McpMeta(Map<String, Object>) - 记录类的构造器 io.agentscope.core.tool.mcp.McpMeta
Creates an McpMeta with the given entries.
McpSyncClientWrapper - io.agentscope.core.tool.mcp中的类
Wrapper for synchronous MCP clients that converts blocking calls to reactive Mono types.
McpSyncClientWrapper(String, McpSyncClient) - 类的构造器 io.agentscope.core.tool.mcp.McpSyncClientWrapper
Constructs a new synchronous MCP client wrapper.
McpTool - io.agentscope.core.tool.mcp中的类
ToolBase subclass that wraps an MCP (Model Context Protocol) tool.
McpTool(String, String, Map<String, Object>, McpClientWrapper) - 类的构造器 io.agentscope.core.tool.mcp.McpTool
已过时。
Use McpTool(String, String, Map, Map, McpClientWrapper, Map, String, boolean) so the MCP server name and read-only hint are propagated. Kept for source compatibility with callers that pre-date the ToolBase integration.
McpTool(String, String, Map<String, Object>, McpClientWrapper, Map<String, Object>) - 类的构造器 io.agentscope.core.tool.mcp.McpTool
已过时。
Use McpTool(String, String, Map, Map, McpClientWrapper, Map, String, boolean) so the MCP server name and read-only hint are propagated.
McpTool(String, String, Map<String, Object>, Map<String, Object>, McpClientWrapper, Map<String, Object>) - 类的构造器 io.agentscope.core.tool.mcp.McpTool
已过时。
Use McpTool(String, String, Map, Map, McpClientWrapper, Map, String, boolean) so the MCP server name and read-only hint are propagated.
McpTool(String, String, Map<String, Object>, Map<String, Object>, McpClientWrapper, Map<String, Object>, String, boolean) - 类的构造器 io.agentscope.core.tool.mcp.McpTool
Preferred constructor used by McpClientManager.
mediaType(String) - 类中的方法 io.agentscope.core.message.Base64Source.Builder
Sets the MIME type for the media content.
MediaUtils - io.agentscope.core.formatter中的类
Utility class for handling media files in multimodal content.
MEDIUM - 记录类中的静态变量 io.agentscope.core.model.ollama.ThinkOption.ThinkLevel
Predefined constant for medium-effort thinking.
Memory - io.agentscope.core.memory中的接口
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Conversation context is now held on AgentState.getContext(). This interface is retained as a write-only mirror for source compatibility with 1.0.x user code.
merge(GenerateOptions) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
Merges the given GenerateOptions into a new instance, with the given options taking precedence.
merge(OllamaOptions) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
Merges the given options into a new instance, with the given options taking precedence.
merge(McpMeta...) - 记录类中的静态方法 io.agentscope.core.tool.mcp.McpMeta
Merges multiple McpMeta instances into one.
merge(ToolExecutionContext...) - 类中的静态方法 io.agentscope.core.tool.ToolExecutionContext
已过时。
Merges multiple contexts into priority-based resolution chain.
mergeAdditionalBodyParams(GenerateOptions, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeToolsHelper
Merge additional body parameters from options and default options.
mergeAdditionalHeaders(GenerateOptions, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeToolsHelper
Merge additional headers from options and default options.
mergeAdditionalQueryParams(GenerateOptions, GenerateOptions) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeToolsHelper
Merge additional query parameters from options and default options.
mergeConfigs(ExecutionConfig, ExecutionConfig) - 类中的静态方法 io.agentscope.core.model.ExecutionConfig
Merges two ExecutionConfig instances, with primary config taking precedence.
mergeConversation(List<Msg>, String) - 类中的静态方法 io.agentscope.core.formatter.anthropic.AnthropicConversationMerger
Merge conversation messages into formatted blocks with history tags.
mergeOptions(GenerateOptions, GenerateOptions) - 类中的静态方法 io.agentscope.core.model.GenerateOptions
Merges two GenerateOptions instances, with primary options taking precedence.
mergeToContent(List<Msg>, Function<Msg, String>, Function<List<ContentBlock>, String>, String) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiConversationMerger
Merge conversation messages into a single Content (for Gemini API).
mergeToMessage(List<Msg>, Function<Msg, String>, Function<List<ContentBlock>, String>, String) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeConversationMerger
Merge conversation messages into a single DashScopeMessage (text-only mode).
mergeToMessage(List<Msg>, Function<Msg, String>, Function<List<ContentBlock>, String>, String) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaConversationMerger
 
mergeToMultiModalMessage(List<Msg>, Function<Msg, String>, Function<List<ContentBlock>, String>, boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeConversationMerger
Merge conversation messages into a single DashScopeMessage (multimodal mode).
mergeToUserMessage(List<Msg>, Function<Msg, String>, Function<List<ContentBlock>, String>) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIConversationMerger
Merge conversation messages into a single OpenAIMessage.
mergeWithBaseSchema(Map<String, Object>) - 接口中的方法 io.agentscope.core.tool.ExtendedModel
Merge this extended model with base schema from tool.
message(String) - 类中的方法 io.agentscope.core.permission.PermissionDecision.Builder
 
messageConverter - 类中的变量 io.agentscope.core.formatter.anthropic.AnthropicBaseFormatter
 
messageConverter - 类中的变量 io.agentscope.core.formatter.openai.OpenAIBaseFormatter
 
MessageMetadataKeys - io.agentscope.core.message中的类
Constants for well-known message metadata keys.
messages() - 记录类中的方法 io.agentscope.core.middleware.ModelCallInput
返回 messages 记录组件的值。
messages() - 记录类中的方法 io.agentscope.core.middleware.ReasoningInput
返回 messages 记录组件的值。
messages(List<DashScopeMessage>) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeInput.Builder
 
messages(List<OllamaMessage>) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest.Builder
 
messages(List<OpenAIMessage>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
META - 枚举类 中的枚举常量 io.agentscope.core.tool.ToolGroupScope
The group is managed by the meta tool (reset_equipped_tools).
metadata - 类中的变量 io.agentscope.core.message.Msg.Builder
 
metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
 
metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.Msg.Builder
Set metadata for structured output.
metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
 
metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.ThinkingBlock.Builder
Sets the metadata for the block.
metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.ToolResultBlock.Builder
Sets the metadata for the tool result.
metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
 
metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.ToolUseBlock.Builder
Sets the provider-specific metadata.
metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
 
metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.model.ChatResponse.Builder
Sets the metadata for the response.
metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
已过时。
Replaces all metadata with a new map.
metadata(Map<String, Object>) - 类中的方法 io.agentscope.core.state.Task.Builder
 
METADATA_CONFIRM_RESULTS - 类中的静态变量 io.agentscope.core.message.Msg
Metadata key for carrying a List<ConfirmResult> when resuming a Permission HITL pause.
METADATA_GENERATE_REASON - 类中的静态变量 io.agentscope.core.message.Msg
Metadata key for storing the generate reason.
METADATA_REASONING_DETAILS - 类中的静态变量 io.agentscope.core.message.ThinkingBlock
Metadata key for storing OpenRouter/Gemini reasoning details list.
METADATA_REMINDER_KIND - 类中的静态变量 io.agentscope.core.message.Msg
Metadata key (string) describing the kind of synthetic reminder carried by a message, e.g.
METADATA_SUSPENDED - 类中的静态变量 io.agentscope.core.message.ToolResultBlock
Metadata key indicating this result is suspended for external execution.
METADATA_SYNTHETIC - 类中的静态变量 io.agentscope.core.message.Msg
Metadata key (boolean) marking a message as synthetic: framework-injected rather than authored by the user, the model, or a tool.
METADATA_THOUGHT_SIGNATURE - 类中的静态变量 io.agentscope.core.message.ToolUseBlock
Metadata key for Gemini thought signature (byte[] value).
method(String) - 类中的方法 io.agentscope.core.model.transport.HttpRequest.Builder
Set the HTTP method.
middleware(MiddlewareBase) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Adds a middleware for intercepting agent execution.
MIDDLEWARE_STOP_REQUESTED - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
A middleware requested the agent to pause via RequestStopEvent.
MiddlewareBase - io.agentscope.core.middleware中的接口
Middleware provides interception mechanisms at 5 key execution points in the Agent lifecycle.
MiddlewareChain - io.agentscope.core.middleware中的类
Builds an onion-style middleware chain for a given interception point.
MiddlewareChain.MiddlewareMethod<I> - io.agentscope.core.middleware中的接口
Functional interface representing one of the onion-pattern middleware hooks.
middlewares(List<? extends MiddlewareBase>) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Adds multiple middlewares for intercepting agent execution.
MIN_P - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
minP(Double) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
minPixels(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart.Builder
 
minPixels(Integer) - 类中的方法 io.agentscope.core.message.ImageBlock.Builder
Sets the minimum pixel threshold for input image frames.
minPixels(Integer) - 类中的方法 io.agentscope.core.message.VideoBlock.Builder
Sets the minimum pixel threshold for input video frames.
mirostat(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
MIROSTAT - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
MIROSTAT_ETA - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
MIROSTAT_TAU - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
mirostatEta(Float) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
mirostatTau(Float) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
modalities(List<String>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
mode(PermissionMode) - 类中的方法 io.agentscope.core.permission.PermissionContextState.Builder
 
model() - 记录类中的方法 io.agentscope.core.middleware.ModelCallInput
返回 model 记录组件的值。
model(Model) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Sets the language model for this agent.
model(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest.Builder
 
model(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest.Builder
 
model(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
model(String) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
model(String) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Configures the model from a string id resolved via ModelRegistry: a named registration (ModelRegistry.register(String, Model)) or a built-in pattern such as openai:gpt-5.5, dashscope:qwen-max, anthropic:claude-sonnet-4-5, gemini:gemini-2.0-flash, or ollama:llama3.
Model - io.agentscope.core.model中的接口
 
MODEL - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
MODEL_CALL_END - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
MODEL_CALL_START - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
MODEL_DEFAULTS - 类中的静态变量 io.agentscope.core.model.ExecutionConfig
Standard defaults for model API calls.
MODEL_STOP - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
Model stopped normally, task completed.
ModelCallEndEvent - io.agentscope.core.event中的类
Emitted when the agent finishes a model (LLM) call.
ModelCallEndEvent(String, ChatUsage) - 类的构造器 io.agentscope.core.event.ModelCallEndEvent
 
ModelCallEndEvent(String, String, String, ChatUsage) - 类的构造器 io.agentscope.core.event.ModelCallEndEvent
 
ModelCallInput - io.agentscope.core.middleware中的记录类
ModelCallInput(List<Msg>, List<ToolSchema>, GenerateOptions, Model) - 记录类的构造器 io.agentscope.core.middleware.ModelCallInput
创建 ModelCallInput 记录类的实例。
ModelCallStartEvent - io.agentscope.core.event中的类
Emitted when the agent starts a model (LLM) call.
ModelCallStartEvent(String) - 类的构造器 io.agentscope.core.event.ModelCallStartEvent
 
ModelCallStartEvent(String, String, String) - 类的构造器 io.agentscope.core.event.ModelCallStartEvent
 
ModelCard - io.agentscope.core.credential中的记录类
Description of one candidate chat model under a provider.
ModelCard(String, String, Integer) - 记录类的构造器 io.agentscope.core.credential.ModelCard
创建 ModelCard 记录类的实例。
ModelConfig - io.agentscope.core.agent.config中的记录类
Model invocation configuration.
ModelConfig(int, Model) - 记录类的构造器 io.agentscope.core.agent.config.ModelConfig
创建 ModelConfig 记录类的实例。
ModelException - io.agentscope.core.model中的异常错误类
Exception thrown when model operations fail.
ModelException(String) - 异常错误类的构造器 io.agentscope.core.model.ModelException
Creates a ModelException with a message.
ModelException(String, String, String) - 异常错误类的构造器 io.agentscope.core.model.ModelException
Creates a ModelException with message and model information.
ModelException(String, Throwable) - 异常错误类的构造器 io.agentscope.core.model.ModelException
Creates a ModelException with a message and cause.
ModelException(String, Throwable, String, String) - 异常错误类的构造器 io.agentscope.core.model.ModelException
Creates a ModelException with message, cause, and model information.
modelExecutionConfig(ExecutionConfig) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Sets the execution configuration for model API calls.
modelName() - 记录类中的方法 io.agentscope.core.credential.ModelCard
返回 modelName 记录组件的值。
modelName(String) - 类中的方法 io.agentscope.core.model.AnthropicChatModel.Builder
Sets the model name.
modelName(String) - 类中的方法 io.agentscope.core.model.DashScopeChatModel.Builder
Sets the model name to use.
modelName(String) - 类中的方法 io.agentscope.core.model.GeminiChatModel.Builder
Sets the model name.
modelName(String) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the model name to use for generation.
modelName(String) - 类中的方法 io.agentscope.core.model.OllamaChatModel.Builder
 
modelName(String) - 类中的方法 io.agentscope.core.model.OpenAIChatModel.Builder
Sets the model name to use.
ModelRegistry - io.agentscope.core.model中的类
Registry for resolving Model instances from string identifiers (named instances or provider:model patterns).
ModelRegistry.ModelFactory - io.agentscope.core.model中的接口
 
ModelUtils - io.agentscope.core.model中的类
Utility class for common Model operations.
Msg - io.agentscope.core.message中的类
Represents a message in the AgentScope framework.
Msg(String, String, MsgRole, List<ContentBlock>, Map<String, Object>, String, ChatUsage) - 类的构造器 io.agentscope.core.message.Msg
Creates a new message with the specified fields.
Msg.Builder - io.agentscope.core.message中的类
 
MsgRole - io.agentscope.core.message中的枚举类
Defines the role of a message participant in agent conversations.
msgs() - 记录类中的方法 io.agentscope.core.middleware.AgentInput
返回 msgs 记录组件的值。
MULTIMODAL - 枚举类 中的枚举常量 io.agentscope.core.model.EndpointType
Force use of multimodal generation API.
MULTIMODAL_GENERATION_ENDPOINT - 类中的静态变量 io.agentscope.core.model.DashScopeHttpClient
Multimodal generation API endpoint.
mutate() - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig
已过时。
Mutate the current instance to a new builder.

N

n(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
name - 类中的变量 io.agentscope.core.message.Msg.Builder
 
name - 类中的变量 io.agentscope.core.tool.mcp.McpClientWrapper
Unique identifier for this MCP client
name() - 批注接口 中的元素 io.agentscope.core.tool.Tool
The name of the tool.
name() - 批注接口 中的元素 io.agentscope.core.tool.ToolParam
The name of the tool parameter.
name(String) - 类中的方法 io.agentscope.core.agent.user.UserAgent.Builder
已过时。
Set the agent name (required).
name(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage.Builder
 
name(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolFunction.Builder
 
name(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.JsonSchema.Builder
 
name(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage.Builder
 
name(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction.Builder
 
name(String) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
 
name(String) - 类中的方法 io.agentscope.core.message.DataBlock.Builder
Sets the optional name for the data block.
name(String) - 类中的方法 io.agentscope.core.message.Msg.Builder
Sets the optional name for the message.
name(String) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
 
name(String) - 类中的方法 io.agentscope.core.message.ToolResultBlock.Builder
Sets the tool name.
name(String) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
 
name(String) - 类中的方法 io.agentscope.core.message.ToolUseBlock.Builder
Sets the name of the tool to execute.
name(String) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
 
name(String) - 类中的方法 io.agentscope.core.model.ToolSchema.Builder
Sets the tool name.
name(String) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Sets the name for this agent.
name(String) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
已过时。
Sets the skill name.
name(String) - 类中的方法 io.agentscope.core.tool.SkillToolGroup.Builder
Sets the name of the tool group.
name(String) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
 
name(String) - 类中的方法 io.agentscope.core.tool.ToolGroup.Builder
Sets the name of the tool group.
needsFullRewrite(List<? extends State>, String, int) - 类中的静态方法 io.agentscope.core.state.ListHashUtil
Determine if a full rewrite is needed based on list content and existing count.
none() - 类中的静态方法 io.agentscope.core.skill.SkillFilter
All skills disabled.
None() - 记录类的构造器 io.agentscope.core.model.ToolChoice.None
创建 None 记录类的实例。
NONE - 枚举类 中的枚举常量 io.agentscope.core.rag.RAGMode
已过时。
Disabled mode: No RAG functionality.
nonProxyHosts(Set<String>) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig.Builder
Set the hosts that should bypass the proxy.
NoOpToolEmitter - io.agentscope.core.tool中的类
A no-op implementation of ToolEmitter that silently discards all emitted chunks.
NoopTracer - io.agentscope.core.tracing中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use OtelTracingMiddleware instead.
NoopTracer() - 类的构造器 io.agentscope.core.tracing.NoopTracer
已过时。
 
normal(String) - 记录类中的静态方法 io.agentscope.core.model.transport.websocket.CloseInfo
Create a CloseInfo for normal closure.
NORMAL_CLOSURE - 记录类中的静态变量 io.agentscope.core.model.transport.websocket.CloseInfo
Normal closure (1000).
NotFoundException - io.agentscope.core.model.exception中的异常错误类
Exception thrown when the requested resource is not found (HTTP 404).
NotFoundException(String, String, String) - 异常错误类的构造器 io.agentscope.core.model.exception.NotFoundException
 
NUM_BATCH - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
NUM_CTX - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
NUM_GPU - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
NUM_KEEP - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
NUM_PREDICT - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
NUM_THREAD - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
NUMA - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
numBatch(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
numCtx(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
numGPU(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
numKeep(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
numPredict(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
numThread(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 

O

ObservableAgent - io.agentscope.core.agent中的接口
Interface for agents that can observe messages without generating replies.
observe(Msg) - 类中的方法 io.agentscope.core.agent.AgentBase
Observe a single message without generating a reply.
observe(Msg) - 接口中的方法 io.agentscope.core.agent.ObservableAgent
Observe a single message without generating a reply.
observe(List<Msg>) - 类中的方法 io.agentscope.core.agent.AgentBase
Observe multiple messages without generating a reply.
observe(List<Msg>) - 接口中的方法 io.agentscope.core.agent.ObservableAgent
Observe multiple messages without generating a reply.
of(ContentBlock) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
Create a result with output only (for tool method return values).
of(ContentBlock, Map<String, Object>) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
Create a result with output and metadata (for tool method return values).
of(String, String) - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeFunction
 
of(String, String) - 类中的静态方法 io.agentscope.core.formatter.openai.dto.OpenAIFunction
 
of(String, String, ContentBlock) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
Create a result with id, name, and output (for message ContentBlock).
of(String, String, ContentBlock, Map<String, Object>) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
Create a result with all fields (for message ContentBlock with metadata).
of(String, String, String) - 类中的静态方法 io.agentscope.core.formatter.openai.dto.OpenAIFunction
 
of(String, String, List<ContentBlock>) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
Create a result with id, name, and output list (for message ContentBlock).
of(String, String, List<ContentBlock>, Map<String, Object>) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
Create a result with all fields including output list (for message ContentBlock with metadata).
of(List<DashScopeMessage>) - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeInput
 
of(List<ContentBlock>) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
Create a result with output list only (for tool method return values).
of(List<ContentBlock>, Map<String, Object>) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
Create a result with output list and metadata (for tool method return values).
OkHttpTransport - io.agentscope.core.model.transport中的类
OkHttp implementation of the HttpTransport interface.
OkHttpTransport() - 类的构造器 io.agentscope.core.model.transport.OkHttpTransport
Create a new OkHttpTransport with default configuration.
OkHttpTransport(HttpTransportConfig) - 类的构造器 io.agentscope.core.model.transport.OkHttpTransport
Create a new OkHttpTransport with custom configuration.
OkHttpTransport(OkHttpClient, HttpTransportConfig) - 类的构造器 io.agentscope.core.model.transport.OkHttpTransport
Create a new OkHttpTransport with an existing OkHttpClient.
OkHttpTransport.Builder - io.agentscope.core.model.transport中的类
Builder for OkHttpTransport.
OkHttpWebSocketConnection<T> - io.agentscope.core.model.transport.websocket中的类
WebSocket connection implementation based on OkHttp WebSocket.
OkHttpWebSocketTransport - io.agentscope.core.model.transport.websocket中的类
WebSocket client implementation based on OkHttp.
OllamaChatFormatter - io.agentscope.core.formatter.ollama中的类
Formatter for Ollama Chat API.
OllamaChatFormatter() - 类的构造器 io.agentscope.core.formatter.ollama.OllamaChatFormatter
 
OllamaChatFormatter(boolean) - 类的构造器 io.agentscope.core.formatter.ollama.OllamaChatFormatter
 
OllamaChatModel - io.agentscope.core.model中的类
AgentScope ChatModel implementation for Ollama.
OllamaChatModel(String, String, OllamaOptions) - 类的构造器 io.agentscope.core.model.OllamaChatModel
Creates a new OllamaChatModel with default settings.
OllamaChatModel(String, String, OllamaOptions, Formatter<OllamaMessage, OllamaResponse, OllamaRequest>, HttpTransport) - 类的构造器 io.agentscope.core.model.OllamaChatModel
Creates a new OllamaChatModel.
OllamaChatModel.Builder - io.agentscope.core.model中的类
 
OllamaConversationMerger - io.agentscope.core.formatter.ollama中的类
Merges multi-agent conversation messages for Ollama API.
OllamaConversationMerger(String) - 类的构造器 io.agentscope.core.formatter.ollama.OllamaConversationMerger
 
OllamaCredential - io.agentscope.core.credential中的类
Credential for the Ollama local server (connection settings only).
OllamaCredential.Builder - io.agentscope.core.credential中的类
 
OllamaEmbeddingRequest - io.agentscope.core.formatter.ollama.dto中的类
Ollama embedding request DTO.
OllamaEmbeddingRequest() - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingRequest
 
OllamaEmbeddingRequest(String, List<String>) - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingRequest
 
OllamaEmbeddingResponse - io.agentscope.core.formatter.ollama.dto中的类
Ollama embedding response DTO.
OllamaEmbeddingResponse() - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingResponse
 
OllamaFunction - io.agentscope.core.formatter.ollama.dto中的类
Ollama function execution DTO.
OllamaFunction() - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaFunction
 
OllamaFunction(String, Map<String, Object>) - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaFunction
 
OllamaHttpClient - io.agentscope.core.model中的类
HTTP client for Ollama API.
OllamaHttpClient(HttpTransport, String) - 类的构造器 io.agentscope.core.model.OllamaHttpClient
Create a new OllamaHttpClient.
OllamaHttpClient.Builder - io.agentscope.core.model中的类
Builder for OllamaHttpClient.
OllamaHttpClient.OllamaHttpException - io.agentscope.core.model中的异常错误类
Exception thrown when Ollama HTTP operations fail.
OllamaHttpException(String) - 异常错误类的构造器 io.agentscope.core.model.OllamaHttpClient.OllamaHttpException
 
OllamaHttpException(String, int, String) - 异常错误类的构造器 io.agentscope.core.model.OllamaHttpClient.OllamaHttpException
 
OllamaHttpException(String, String, String) - 异常错误类的构造器 io.agentscope.core.model.OllamaHttpClient.OllamaHttpException
 
OllamaHttpException(String, Throwable) - 异常错误类的构造器 io.agentscope.core.model.OllamaHttpClient.OllamaHttpException
 
OllamaMediaConverter - io.agentscope.core.formatter.ollama中的类
Handles media content conversion for Ollama API.
OllamaMediaConverter() - 类的构造器 io.agentscope.core.formatter.ollama.OllamaMediaConverter
 
OllamaMessage - io.agentscope.core.formatter.ollama.dto中的类
Ollama chat message DTO.
OllamaMessage() - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaMessage
 
OllamaMessage(String, String) - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaMessage
 
OllamaMessageConverter - io.agentscope.core.formatter.ollama中的类
Converter for transforming AgentScope Msg objects to OllamaMessage objects.
OllamaMessageConverter() - 类的构造器 io.agentscope.core.formatter.ollama.OllamaMessageConverter
 
OllamaMultiAgentFormatter - io.agentscope.core.formatter.ollama中的类
Ollama formatter for multi-agent conversations.
OllamaMultiAgentFormatter() - 类的构造器 io.agentscope.core.formatter.ollama.OllamaMultiAgentFormatter
Create a OllamaMultiAgentFormatter with default conversation history prompt.
OllamaMultiAgentFormatter(boolean) - 类的构造器 io.agentscope.core.formatter.ollama.OllamaMultiAgentFormatter
 
OllamaMultiAgentFormatter(String) - 类的构造器 io.agentscope.core.formatter.ollama.OllamaMultiAgentFormatter
Create a OllamaMultiAgentFormatter with custom conversation history prompt.
OllamaMultiAgentFormatter(String, boolean) - 类的构造器 io.agentscope.core.formatter.ollama.OllamaMultiAgentFormatter
 
OllamaOptions - io.agentscope.core.model.ollama中的类
AgentScope implementation of Ollama model configuration options.
OllamaOptions() - 类的构造器 io.agentscope.core.model.ollama.OllamaOptions
 
OllamaOptions.Builder - io.agentscope.core.model.ollama中的类
 
OllamaOptions.ParamKey - io.agentscope.core.model.ollama中的枚举类
Keys for Ollama parameters.
OllamaRequest - io.agentscope.core.formatter.ollama.dto中的类
Ollama chat request DTO.
OllamaRequest() - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
OllamaRequest.Builder - io.agentscope.core.formatter.ollama.dto中的类
 
OllamaResponse - io.agentscope.core.formatter.ollama.dto中的类
Ollama chat response DTO.
OllamaResponse() - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
OllamaResponseParser - io.agentscope.core.formatter.ollama中的类
Parser for converting OllamaResponse objects to AgentScope ChatResponse objects.
OllamaResponseParser() - 类的构造器 io.agentscope.core.formatter.ollama.OllamaResponseParser
 
OllamaTool - io.agentscope.core.formatter.ollama.dto中的类
Ollama tool definition DTO.
OllamaTool() - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaTool
 
OllamaTool(OllamaToolFunction) - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaTool
 
OllamaToolCall - io.agentscope.core.formatter.ollama.dto中的类
Ollama tool call DTO.
OllamaToolCall() - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaToolCall
 
OllamaToolCall(OllamaFunction) - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaToolCall
 
OllamaToolFunction - io.agentscope.core.formatter.ollama.dto中的类
Ollama tool function definition DTO.
OllamaToolFunction() - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaToolFunction
 
OllamaToolFunction(String, String, Map<String, Object>) - 类的构造器 io.agentscope.core.formatter.ollama.dto.OllamaToolFunction
 
OllamaToolsHelper - io.agentscope.core.formatter.ollama中的类
Helper class for managing Ollama tool conversions and options application.
OllamaToolsHelper() - 类的构造器 io.agentscope.core.formatter.ollama.OllamaToolsHelper
 
onActing(Agent, RuntimeContext, ActingInput, Function<ActingInput, Flux<AgentEvent>>) - 接口中的方法 io.agentscope.core.middleware.MiddlewareBase
Intercept the tool-call execution phase.
onActing(Agent, RuntimeContext, ActingInput, Function<ActingInput, Flux<AgentEvent>>) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownMiddleware
 
onActing(Agent, RuntimeContext, ActingInput, Function<ActingInput, Flux<AgentEvent>>) - 类中的方法 io.agentscope.core.tracing.OtelTracingMiddleware
 
onAgent(Agent, RuntimeContext, AgentInput, Function<AgentInput, Flux<AgentEvent>>) - 接口中的方法 io.agentscope.core.middleware.MiddlewareBase
Intercept the entire agent invocation.
onAgent(Agent, RuntimeContext, AgentInput, Function<AgentInput, Flux<AgentEvent>>) - 类中的方法 io.agentscope.core.tracing.OtelTracingMiddleware
 
onEvent(T) - 类中的方法 io.agentscope.core.agent.StreamingHook
已过时。
 
onEvent(T) - 接口中的方法 io.agentscope.core.hook.Hook
已过时。
Handle a hook event.
onEvent(T) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter
已过时。
 
onEvent(T) - 类中的方法 io.agentscope.core.memory.StaticLongTermMemoryHook
已过时。
 
onEvent(T) - 类中的方法 io.agentscope.core.rag.GenericRAGHook
已过时。
 
onEvent(T) - 类中的方法 io.agentscope.core.skill.SkillHook
已过时。
 
only(String...) - 类中的静态方法 io.agentscope.core.skill.SkillFilter
Whitelist: only the named skills are allowed.
onModelCall(Agent, RuntimeContext, ModelCallInput, Function<ModelCallInput, Flux<AgentEvent>>) - 接口中的方法 io.agentscope.core.middleware.MiddlewareBase
Intercept the raw model API call.
onModelCall(Agent, RuntimeContext, ModelCallInput, Function<ModelCallInput, Flux<AgentEvent>>) - 类中的方法 io.agentscope.core.tracing.OtelTracingMiddleware
 
onReasoning(Agent, RuntimeContext, ReasoningInput, Function<ReasoningInput, Flux<AgentEvent>>) - 接口中的方法 io.agentscope.core.middleware.MiddlewareBase
Intercept the reasoning phase (LLM call + streaming output parsing).
onReasoning(Agent, RuntimeContext, ReasoningInput, Function<ReasoningInput, Flux<AgentEvent>>) - 类中的方法 io.agentscope.core.middleware.TaskReminderMiddleware
 
onReasoning(Agent, RuntimeContext, ReasoningInput, Function<ReasoningInput, Flux<AgentEvent>>) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownMiddleware
 
onSystemPrompt(Agent, RuntimeContext, String) - 接口中的方法 io.agentscope.core.middleware.MiddlewareBase
Transform the system prompt string (pipeline pattern).
onSystemPrompt(Agent, RuntimeContext, String) - 类中的方法 io.agentscope.core.middleware.TaskReminderMiddleware
 
onSystemPrompt(Agent, RuntimeContext, String) - 类中的方法 io.agentscope.core.skill.DynamicSkillMiddleware
 
openaiAudioToText(String, String, String, String, String, Double) - 类中的方法 io.agentscope.core.tool.multimodal.OpenAIMultiModalTool
Convert audio to text (transcription) using OpenAI Whisper models.
OpenAIBaseFormatter - io.agentscope.core.formatter.openai中的类
Base formatter for OpenAI Chat Completion HTTP API.
OpenAIBaseFormatter() - 类的构造器 io.agentscope.core.formatter.openai.OpenAIBaseFormatter
 
OpenAIChatFormatter - io.agentscope.core.formatter.openai中的类
Formatter for OpenAI Chat Completion HTTP API.
OpenAIChatFormatter() - 类的构造器 io.agentscope.core.formatter.openai.OpenAIChatFormatter
 
OpenAIChatModel - io.agentscope.core.model中的类
OpenAI Chat Model using native HTTP API.
OpenAIChatModel.Builder - io.agentscope.core.model中的类
Builder for OpenAIChatModel.
OpenAIChoice - io.agentscope.core.formatter.openai.dto中的类
OpenAI choice DTO.
OpenAIChoice() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIChoice
 
OpenAIClient - io.agentscope.core.model中的类
Stateless HTTP client for OpenAI-compatible APIs.
OpenAIClient() - 类的构造器 io.agentscope.core.model.OpenAIClient
Create a new OpenAIClient with the default transport from factory.
OpenAIClient(HttpTransport) - 类的构造器 io.agentscope.core.model.OpenAIClient
Create a new stateless OpenAIClient.
OpenAIContentPart - io.agentscope.core.formatter.openai.dto中的类
OpenAI content part DTO for multimodal messages.
OpenAIContentPart() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
 
OpenAIContentPart.Builder - io.agentscope.core.formatter.openai.dto中的类
 
OpenAIConversationMerger - io.agentscope.core.formatter.openai中的类
Merges multi-agent conversation messages for OpenAI HTTP API.
OpenAIConversationMerger(String) - 类的构造器 io.agentscope.core.formatter.openai.OpenAIConversationMerger
Create an OpenAIConversationMerger with custom conversation history prompt.
OpenAIConverterUtils - io.agentscope.core.formatter.openai中的类
Utility class for OpenAI message and conversation conversion.
OpenAICredential - io.agentscope.core.credential中的类
Credential for the OpenAI API.
OpenAICredential.Builder - io.agentscope.core.credential中的类
 
OpenAIError - io.agentscope.core.formatter.openai.dto中的类
OpenAI error DTO.
OpenAIError() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIError
 
OpenAIException - io.agentscope.core.model.exception中的异常错误类
Base exception for all OpenAI API errors.
OpenAIException(String) - 异常错误类的构造器 io.agentscope.core.model.exception.OpenAIException
 
OpenAIException(String, int, String) - 异常错误类的构造器 io.agentscope.core.model.exception.OpenAIException
 
OpenAIException(String, int, String, String) - 异常错误类的构造器 io.agentscope.core.model.exception.OpenAIException
 
OpenAIException(String, String, String) - 异常错误类的构造器 io.agentscope.core.model.exception.OpenAIException
 
OpenAIException(String, Throwable) - 异常错误类的构造器 io.agentscope.core.model.exception.OpenAIException
 
OpenAIFunction - io.agentscope.core.formatter.openai.dto中的类
OpenAI function call DTO.
OpenAIFunction() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIFunction
 
OpenAIFunction(String, String) - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIFunction
 
openaiImageToText(String, String, String, Integer) - 类中的方法 io.agentscope.core.tool.multimodal.OpenAIMultiModalTool
Convert image(s) to text using vision models.
OpenAIImageUrl - io.agentscope.core.formatter.openai.dto中的类
OpenAI image URL DTO.
OpenAIImageUrl() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIImageUrl
 
OpenAIImageUrl(String) - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIImageUrl
 
OpenAIImageUrl(String, String) - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIImageUrl
 
OpenAIInputAudio - io.agentscope.core.formatter.openai.dto中的类
OpenAI input audio DTO.
OpenAIInputAudio() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIInputAudio
 
OpenAIInputAudio(String, String) - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIInputAudio
 
OpenAIMessage - io.agentscope.core.formatter.openai.dto中的类
OpenAI message DTO.
OpenAIMessage() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
OpenAIMessage.Builder - io.agentscope.core.formatter.openai.dto中的类
 
OpenAIMessageConverter - io.agentscope.core.formatter.openai中的类
Converts AgentScope Msg objects to OpenAI DTO types (for HTTP API).
OpenAIMessageConverter(Function<Msg, String>, Function<List<ContentBlock>, String>) - 类的构造器 io.agentscope.core.formatter.openai.OpenAIMessageConverter
Create an OpenAIMessageConverter with required dependency functions.
OpenAIMultiAgentFormatter - io.agentscope.core.formatter.openai中的类
Multi-agent formatter for OpenAI Chat Completion HTTP API.
OpenAIMultiAgentFormatter() - 类的构造器 io.agentscope.core.formatter.openai.OpenAIMultiAgentFormatter
Create an OpenAIMultiAgentFormatter with default conversation history prompt.
OpenAIMultiAgentFormatter(String) - 类的构造器 io.agentscope.core.formatter.openai.OpenAIMultiAgentFormatter
Create an OpenAIMultiAgentFormatter with custom conversation history prompt.
OpenAIMultiModalTool - io.agentscope.core.tool.multimodal中的类
OpenAI multimodal tool.
OpenAIMultiModalTool(OpenAIClient) - 类的构造器 io.agentscope.core.tool.multimodal.OpenAIMultiModalTool
Create a new OpenAIMultiModalTool with custom client (for testing).
OpenAIMultiModalTool(String) - 类的构造器 io.agentscope.core.tool.multimodal.OpenAIMultiModalTool
Create a new OpenAIMultiModalTool with default base URL.
OpenAIMultiModalTool(String, String) - 类的构造器 io.agentscope.core.tool.multimodal.OpenAIMultiModalTool
Create a new OpenAIMultiModalTool with custom base URL.
OpenAIReasoningDetail - io.agentscope.core.formatter.openai.dto中的类
OpenAI Reasoning Detail DTO (OpenRouter specific for Gemini).
OpenAIReasoningDetail() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIReasoningDetail
 
OpenAIRequest - io.agentscope.core.formatter.openai.dto中的类
OpenAI Chat Completion API request DTO.
OpenAIRequest() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
OpenAIRequest.Builder - io.agentscope.core.formatter.openai.dto中的类
 
OpenAIResponse - io.agentscope.core.formatter.openai.dto中的类
OpenAI Chat Completion API response DTO.
OpenAIResponse() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
OpenAIResponseParser - io.agentscope.core.formatter.openai中的类
Parses OpenAI HTTP API responses to AgentScope ChatResponse.
OpenAIResponseParser() - 类的构造器 io.agentscope.core.formatter.openai.OpenAIResponseParser
 
OpenAIStreamOptions - io.agentscope.core.formatter.openai.dto中的类
OpenAI stream options DTO.
OpenAIStreamOptions() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIStreamOptions
 
OpenAIStreamOptions(Boolean) - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIStreamOptions
 
openaiTextToAudio(String, String, String, String, Double) - 类中的方法 io.agentscope.core.tool.multimodal.OpenAIMultiModalTool
Convert text to audio (speech) using OpenAI TTS models.
openaiTextToImage(String, String, Integer, String, String, String) - 类中的方法 io.agentscope.core.tool.multimodal.OpenAIMultiModalTool
Generate image(s) based on the given prompt.
OpenAITool - io.agentscope.core.formatter.openai.dto中的类
OpenAI tool definition DTO.
OpenAITool() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAITool
 
OpenAITool(OpenAIToolFunction) - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAITool
 
OpenAIToolCall - io.agentscope.core.formatter.openai.dto中的类
OpenAI tool call DTO.
OpenAIToolCall() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIToolCall
 
OpenAIToolCall.Builder - io.agentscope.core.formatter.openai.dto中的类
 
OpenAIToolFunction - io.agentscope.core.formatter.openai.dto中的类
OpenAI tool function definition DTO.
OpenAIToolFunction() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction
 
OpenAIToolFunction.Builder - io.agentscope.core.formatter.openai.dto中的类
 
OpenAIUsage - io.agentscope.core.formatter.openai.dto中的类
OpenAI usage statistics DTO.
OpenAIUsage() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIUsage
 
OpenAIUsage.CompletionTokensDetails - io.agentscope.core.formatter.openai.dto中的类
Detailed breakdown of completion tokens.
OpenAIUsage.PromptTokensDetails - io.agentscope.core.formatter.openai.dto中的类
Detailed breakdown of prompt tokens.
OpenAIVideoUrl - io.agentscope.core.formatter.openai.dto中的类
OpenAI video URL DTO.
OpenAIVideoUrl() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIVideoUrl
 
OpenAIVideoUrl(String) - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIVideoUrl
 
options() - 记录类中的方法 io.agentscope.core.middleware.ModelCallInput
返回 options 记录组件的值。
options() - 记录类中的方法 io.agentscope.core.middleware.ReasoningInput
返回 options 记录组件的值。
options(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest.Builder
 
organization(String) - 类中的方法 io.agentscope.core.credential.OpenAICredential.Builder
 
originDir(Path) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
已过时。
Sets the on-disk origin directory for this skill.
OtelTracingMiddleware - io.agentscope.core.tracing中的类
Middleware that adds OpenTelemetry tracing to the agent lifecycle.
OtelTracingMiddleware() - 类的构造器 io.agentscope.core.tracing.OtelTracingMiddleware
 
output(ContentBlock) - 类中的方法 io.agentscope.core.message.ToolResultBlock.Builder
Sets a single content block as output.
output(List<ContentBlock>) - 类中的方法 io.agentscope.core.message.ToolResultBlock.Builder
Sets a list of content blocks as output.
outputSchema(Map<String, Object>) - 类中的方法 io.agentscope.core.model.ToolSchema.Builder
Sets the optional tool output schema as a JSON Schema.
outputStream(OutputStream) - 类中的方法 io.agentscope.core.agent.user.StreamUserInput.Builder
已过时。
Set the output stream to write to.
outputTokens(int) - 类中的方法 io.agentscope.core.model.ChatUsage.Builder
Sets the number of output tokens.
overlay(SkillFilter) - 类中的方法 io.agentscope.core.skill.SkillFilter
Merge this (base) filter with a runtime overlay.
owner(String) - 类中的方法 io.agentscope.core.state.Task.Builder
 

P

parallel(boolean) - 类中的方法 io.agentscope.core.tool.ToolkitConfig.Builder
Set whether to execute tools in parallel.
parallelToolCalls(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
parallelToolCalls(Boolean) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
parallelToolCalls(Boolean) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets whether to enable parallel function calling during tool use.
parameters(DashScopeParameters) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest.Builder
 
parameters(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolFunction.Builder
 
parameters(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction.Builder
 
parameters(Map<String, Object>) - 类中的方法 io.agentscope.core.model.ToolSchema.Builder
Sets the tool parameters as a JSON Schema.
parentSessionId(String) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
已过时。
 
parse(String) - 类中的静态方法 io.agentscope.core.skill.util.MarkdownSkillParser
已过时。
Parse markdown content with YAML frontmatter.
parseChunkResponse(OpenAIResponse, Instant) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIResponseParser
Parse OpenAI streaming response chunk.
parseCompletionResponse(OpenAIResponse, Instant) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIResponseParser
Parse OpenAI non-streaming response.
ParsedMarkdown(Map<String, Object>, String) - 类的构造器 io.agentscope.core.skill.util.MarkdownSkillParser.ParsedMarkdown
已过时。
Create a parsed markdown result.
parseMessage(Message, Instant) - 类中的静态方法 io.agentscope.core.formatter.anthropic.AnthropicResponseParser
Parse non-streaming Anthropic Message to ChatResponse.
parsePartsToBlocks(List<Part>, List<ContentBlock>) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiResponseParser
Parse Gemini Part objects to AgentScope ContentBlocks.
parseResponse(GenerateContentResponse, Instant) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiChatFormatter
 
parseResponse(GenerateContentResponse, Instant) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiMultiAgentFormatter
 
parseResponse(GenerateContentResponse, Instant) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiResponseParser
Parse Gemini GenerateContentResponse to AgentScope ChatResponse.
parseResponse(DashScopeResponse, Instant) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeChatFormatter
 
parseResponse(DashScopeResponse, Instant) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeMultiAgentFormatter
 
parseResponse(DashScopeResponse, Instant) - 类中的方法 io.agentscope.core.formatter.dashscope.DashScopeResponseParser
Parse DashScopeResponse to AgentScope ChatResponse.
parseResponse(OllamaResponse) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaResponseParser
Parses an OllamaResponse object into a ChatResponse object.
parseResponse(OllamaResponse, Instant) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaChatFormatter
 
parseResponse(OllamaResponse, Instant) - 类中的方法 io.agentscope.core.formatter.ollama.OllamaMultiAgentFormatter
 
parseResponse(OpenAIResponse, Instant) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIBaseFormatter
 
parseResponse(OpenAIResponse, Instant) - 类中的方法 io.agentscope.core.formatter.openai.OpenAIResponseParser
Parse OpenAI response DTO to AgentScope ChatResponse.
parseResponse(Object, Instant) - 类中的方法 io.agentscope.core.formatter.anthropic.AnthropicChatFormatter
 
parseResponse(Object, Instant) - 类中的方法 io.agentscope.core.formatter.anthropic.AnthropicMultiAgentFormatter
 
parseResponse(TResp, Instant) - 接口中的方法 io.agentscope.core.formatter.Formatter
Parse provider-specific response to AgentScope ChatResponse.
parseStreamEvents(Flux<RawMessageStreamEvent>, Instant) - 类中的静态方法 io.agentscope.core.formatter.anthropic.AnthropicResponseParser
Parse streaming Anthropic events to ChatResponse Flux.
parseToolCall(FunctionCall, byte[], List<ContentBlock>) - 类中的方法 io.agentscope.core.formatter.gemini.GeminiResponseParser
Parse Gemini FunctionCall to ToolUseBlock.
partialReasoningPolicy() - 记录类中的方法 io.agentscope.core.shutdown.GracefulShutdownConfig
返回 partialReasoningPolicy 记录组件的值。
PartialReasoningPolicy - io.agentscope.core.shutdown中的枚举类
Policy for handling incomplete reasoning content on shutdown interruption.
passthrough(String) - 类中的静态方法 io.agentscope.core.permission.PermissionDecision
 
PASSTHROUGH - 枚举类 中的枚举常量 io.agentscope.core.permission.PermissionBehavior
 
password(String) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig.Builder
Set the authentication password.
path() - 记录类中的方法 io.agentscope.core.permission.AdditionalWorkingDirectory
返回 path 记录组件的值。
path(String) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
已过时。
 
payload(Map<String, Object>) - 类中的方法 io.agentscope.core.rag.model.DocumentMetadata.Builder
已过时。
Sets the entire payload map.
PENALIZE_NEWLINE - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
penalizeNewline(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
PENDING - 枚举类 中的枚举常量 io.agentscope.core.message.ToolCallState
 
PENDING - 枚举类 中的枚举常量 io.agentscope.core.state.Task.State
 
pendingToolCalls(List<ToolUseBlock>) - 类中的方法 io.agentscope.core.interruption.InterruptContext.Builder
Set the pending tool calls at the time of interruption.
performGracefulShutdown() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
 
PERMISSION_ASKING - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
Permission engine is asking the user to confirm one or more tool calls.
PermissionBehavior - io.agentscope.core.permission中的枚举类
Outcome of a permission rule or tool self-check.
permissionContext(PermissionContextState) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Sets the PermissionContextState consulted by the PermissionEngine during tool execution.
permissionContext(PermissionContextState) - 类中的方法 io.agentscope.core.state.AgentState.Builder
 
PermissionContextState - io.agentscope.core.permission中的类
Permission evaluation context: mode + working directories + three rule tables.
PermissionContextState.Builder - io.agentscope.core.permission中的类
 
PermissionDecision - io.agentscope.core.permission中的类
Decision returned by a permission rule match or a tool self-check.
PermissionDecision.Builder - io.agentscope.core.permission中的类
 
PermissionDeniedException - io.agentscope.core.model.exception中的异常错误类
Exception thrown when permission is denied (HTTP 403).
PermissionDeniedException(String, String, String) - 异常错误类的构造器 io.agentscope.core.model.exception.PermissionDeniedException
 
PermissionEngine - io.agentscope.core.permission中的类
Evaluates tool execution requests against configured permission rules.
PermissionEngine(PermissionContextState) - 类的构造器 io.agentscope.core.permission.PermissionEngine
Creates an engine seeded from the given context's rules and mode.
PermissionMode - io.agentscope.core.permission中的枚举类
Permission mode controlling how the engine evaluates tool execution requests.
PermissionRule - io.agentscope.core.permission中的记录类
A single permission rule pinned to a tool name.
PermissionRule(String, String, PermissionBehavior, String) - 记录类的构造器 io.agentscope.core.permission.PermissionRule
创建 PermissionRule 记录类的实例。
pingInterval(Duration) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
Set the ping interval for heartbeat (OkHttp only).
planModeContext(PlanModeContextState) - 类中的方法 io.agentscope.core.state.AgentState.Builder
 
PlanModeContextState - io.agentscope.core.state中的类
Persisted plan-mode flag for an agent.
PlanModeContextState() - 类的构造器 io.agentscope.core.state.PlanModeContextState
 
PlanModeContextState(boolean, String) - 类的构造器 io.agentscope.core.state.PlanModeContextState
 
port(int) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig.Builder
Set the proxy server port.
POST_ACTING - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
已过时。
After tool execution completes
POST_CALL - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
已过时。
After agent completes processing
POST_REASONING - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
已过时。
After LLM reasoning completes
POST_SUMMARY - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
已过时。
After summary generation completes
PostActingEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
PostActingEvent(Agent, Toolkit, ToolUseBlock, ToolResultBlock) - 类的构造器 io.agentscope.core.hook.PostActingEvent
已过时。
Constructor for PostActingEvent.
PostCallEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
PostCallEvent(Agent, Msg) - 类的构造器 io.agentscope.core.hook.PostCallEvent
已过时。
Constructor for PostCallEvent.
PostReasoningEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
PostReasoningEvent(Agent, String, GenerateOptions, Msg) - 类的构造器 io.agentscope.core.hook.PostReasoningEvent
已过时。
Constructor for PostReasoningEvent.
PostSummaryEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
PostSummaryEvent(Agent, String, GenerateOptions, Msg) - 类的构造器 io.agentscope.core.hook.PostSummaryEvent
已过时。
Constructor for PostSummaryEvent.
PRE_ACTING - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
已过时。
Before tool execution
PRE_CALL - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
已过时。
Before agent starts processing
PRE_REASONING - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
已过时。
Before LLM reasoning
PRE_SUMMARY - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
已过时。
Before summary generation (when max iterations reached)
PreActingEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
PreActingEvent(Agent, Toolkit, ToolUseBlock) - 类的构造器 io.agentscope.core.hook.PreActingEvent
已过时。
Constructor for PreActingEvent.
PreCallEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
PreCallEvent(Agent, List<Msg>) - 类的构造器 io.agentscope.core.hook.PreCallEvent
已过时。
Constructor for PreCallEvent.
prediction(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
prependSearchResult(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.Builder
 
PreReasoningEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
PreReasoningEvent(Agent, String, GenerateOptions, List<Msg>) - 类的构造器 io.agentscope.core.hook.PreReasoningEvent
已过时。
Constructor for PreReasoningEvent.
PRESENCE_PENALTY - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
presencePenalty(Double) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
presencePenalty(Double) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
presencePenalty(Double) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the presence penalty.
presencePenalty(Double) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
presetParameters(Map<String, Map<String, Object>>) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
已过时。
Set preset parameters that will be automatically injected during tool execution.
presetParameters(Map<String, Map<String, Object>>) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
Set preset parameters that will be automatically injected during tool execution.
PreSummaryEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
PreSummaryEvent(Agent, String, GenerateOptions, List<Msg>, int, int) - 类的构造器 io.agentscope.core.hook.PreSummaryEvent
已过时。
Constructor for PreSummaryEvent.
priority() - 接口中的方法 io.agentscope.core.hook.Hook
已过时。
The priority of this hook (lower value = higher priority).
priority() - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter
已过时。
 
priority() - 类中的方法 io.agentscope.core.memory.StaticLongTermMemoryHook
已过时。
 
priority() - 类中的方法 io.agentscope.core.rag.GenericRAGHook
已过时。
 
priority() - 类中的方法 io.agentscope.core.skill.SkillHook
已过时。
 
priority(int) - 类中的方法 io.agentscope.core.hook.recorder.JsonlTraceExporter.Builder
已过时。
Hook priority (default: 900, low priority for logging/export).
project(String) - 类中的方法 io.agentscope.core.model.GeminiChatModel.Builder
Sets the Google Cloud project ID (for Vertex AI).
PROMPT - 枚举类 中的枚举常量 io.agentscope.core.model.StructuredOutputReminder
Inject reminder prompt when model doesn't call the tool.
PromptTokensDetails() - 类的构造器 io.agentscope.core.formatter.openai.dto.OpenAIUsage.PromptTokensDetails
 
PROPERTY_REQUIRED_FALSE_BY_DEFAULT - 枚举类 中的枚举常量 io.agentscope.core.tool.ToolSchemaModule.Option
Treat un-annotated fields as optional instead of required.
PROTOCOL_ERROR - 记录类中的静态变量 io.agentscope.core.model.transport.websocket.CloseInfo
Protocol error (1002).
protocolVersions(String...) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Sets the MCP protocol versions that the client supports.
provide() - 接口中的方法 io.agentscope.core.tool.subagent.SubAgentProvider
Provides a new agent instance.
proxy(ProxyConfig) - 类中的方法 io.agentscope.core.model.AnthropicChatModel.Builder
Sets the proxy configuration for HTTP traffic.
proxy(ProxyConfig) - 类中的方法 io.agentscope.core.model.DashScopeChatModel.Builder
Sets the proxy configuration for HTTP traffic.
proxy(ProxyConfig) - 类中的方法 io.agentscope.core.model.GeminiChatModel.Builder
Sets the proxy configuration for HTTP traffic.
proxy(ProxyConfig) - 类中的方法 io.agentscope.core.model.OllamaChatModel.Builder
Sets the proxy configuration for HTTP traffic.
proxy(ProxyConfig) - 类中的方法 io.agentscope.core.model.OpenAIChatModel.Builder
Sets the proxy configuration for HTTP traffic.
proxy(ProxyConfig) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
Set the proxy configuration.
proxy(ProxyConfig) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
Set the proxy configuration.
ProxyConfig - io.agentscope.core.model.transport中的类
Configuration for HTTP and SOCKS proxy.
ProxyConfig.Builder - io.agentscope.core.model.transport中的类
Builder for ProxyConfig.
ProxyType - io.agentscope.core.model.transport中的枚举类
Enumeration of supported proxy types.
PUBLIC_KEYS_ENDPOINT - 类中的静态变量 io.agentscope.core.model.DashScopeHttpClient
Public keys API endpoint.
publicKey() - 记录类中的方法 io.agentscope.core.model.DashScopeHttpClient.PublicKeyResult
返回 publicKey 记录组件的值。
publicKey(String) - 类中的方法 io.agentscope.core.model.DashScopeHttpClient.Builder
Set the RSA public key for encryption (Base64-encoded).
PublicKeyData() - 类的构造器 io.agentscope.core.formatter.dashscope.dto.DashScopePublicKeyResponse.PublicKeyData
 
publicKeyId() - 记录类中的方法 io.agentscope.core.model.DashScopeHttpClient.PublicKeyResult
返回 publicKeyId 记录组件的值。
publicKeyId(String) - 类中的方法 io.agentscope.core.model.DashScopeHttpClient.Builder
Set the RSA public key ID for encryption.
PublicKeyResult(String, String) - 记录类的构造器 io.agentscope.core.model.DashScopeHttpClient.PublicKeyResult
创建 PublicKeyResult 记录类的实例。
put(Class<T>, T) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
 
put(Class<T>, T) - 类中的方法 io.agentscope.core.agent.RuntimeContext
 
put(String, Class<T>, T) - 类中的方法 io.agentscope.core.agent.RuntimeContext
 
put(String, Object) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
 
put(String, Object) - 类中的方法 io.agentscope.core.agent.RuntimeContext
 
putAll(Map<String, Object>) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
 
putMetadata(String, Object) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
已过时。
Adds or updates a single metadata entry.

Q

queryParam(String, String) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Adds a query parameter to the URL (only applicable for HTTP transports).
queryParams(Map<String, String>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Sets multiple query parameters (only applicable for HTTP transports).

R

ragMode(RAGMode) - 类中的方法 io.agentscope.core.ReActAgent.Builder
已过时, 待删除: 此 API 元素将从以后的版本中删除。
RAGMode - io.agentscope.core.rag中的枚举类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. The rag package is removed; integrate retrieval at the application layer.
RateLimitException - io.agentscope.core.model.exception中的异常错误类
Exception thrown when rate limits are exceeded (HTTP 429).
RateLimitException(String, String, String) - 异常错误类的构造器 io.agentscope.core.model.exception.RateLimitException
 
ReActAgent - io.agentscope.core中的类
ReAct (Reasoning and Acting) Agent implementation.
ReActAgent.Builder - io.agentscope.core中的类
 
ReactConfig - io.agentscope.core.agent.config中的记录类
Reasoning-loop configuration.
ReactConfig(int, boolean) - 记录类的构造器 io.agentscope.core.agent.config.ReactConfig
创建 ReactConfig 记录类的实例。
ReadCacheEntry - io.agentscope.core.state中的记录类
Snapshot of a file's contents kept in the tool read cache.
ReadCacheEntry(List<String>, double, double, String) - 记录类的构造器 io.agentscope.core.state.ReadCacheEntry
创建 ReadCacheEntry 记录类的实例。
ReadFileTool - io.agentscope.core.tool.file中的类
Tool for viewing text file content with optional line range specification and listing directory contents.
ReadFileTool() - 类的构造器 io.agentscope.core.tool.file.ReadFileTool
Creates a ReadFileTool with no base directory restriction.
ReadFileTool(String) - 类的构造器 io.agentscope.core.tool.file.ReadFileTool
Creates a ReadFileTool with a base directory restriction.
readOnly() - 批注接口 中的元素 io.agentscope.core.tool.Tool
Whether the tool only reads data without observable side effects.
readOnly(boolean) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
 
readTimeout(Duration) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
Set the read timeout.
readTimeout(Duration) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
Set the read timeout.
reason() - 记录类中的方法 io.agentscope.core.model.transport.websocket.CloseInfo
返回 reason 记录组件的值。
REASONING - 枚举类 中的枚举常量 io.agentscope.core.agent.EventType
已过时。
Reasoning event - Agent thinking and planning.
REASONING_CHUNK - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
已过时。
During LLM reasoning streaming
REASONING_STOP_REQUESTED - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
Reasoning phase was stopped by a Hook (PostReasoningEvent.stopAgent()).
ReasoningChunkEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
ReasoningChunkEvent(Agent, String, GenerateOptions, Msg, Msg) - 类的构造器 io.agentscope.core.hook.ReasoningChunkEvent
已过时。
Constructor for ReasoningChunkEvent.
reasoningContent(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage.Builder
 
reasoningContent(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage.Builder
 
reasoningDetails(List<OpenAIReasoningDetail>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage.Builder
 
reasoningEffort(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
reasoningEffort(String) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the reasoning effort level for o1 models.
ReasoningEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
ReasoningEvent(HookEventType, Agent, String, GenerateOptions) - 类的构造器 io.agentscope.core.hook.ReasoningEvent
已过时。
Constructor for ReasoningEvent.
ReasoningInput - io.agentscope.core.middleware中的记录类
ReasoningInput(List<Msg>, List<ToolSchema>, GenerateOptions) - 记录类的构造器 io.agentscope.core.middleware.ReasoningInput
创建 ReasoningInput 记录类的实例。
receive() - 类中的方法 io.agentscope.core.model.transport.websocket.JdkWebSocketConnection
 
receive() - 类中的方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketConnection
 
receive() - 接口中的方法 io.agentscope.core.model.transport.websocket.WebSocketConnection
Receive message stream.
record(List<Msg>) - 接口中的方法 io.agentscope.core.memory.LongTermMemory
已过时。
Records messages to long-term memory.
recordToMemory(String, List<String>) - 类中的方法 io.agentscope.core.memory.LongTermMemoryTools
已过时。
Tool function for agent to record important information to long-term memory.
refusal(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage.Builder
 
register(HttpTransport) - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportFactory
Register an HttpTransport for lifecycle management.
register(GracefulShutdownManager) - 类中的静态方法 io.agentscope.core.shutdown.AgentScopeJvmShutdownHook
 
register(Tracer) - 类中的静态方法 io.agentscope.core.tracing.TracerRegistry
已过时。
 
register(Class<T>, T) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext.Builder
已过时。
Registers an object with explicit type (e.g., by interface).
register(Object) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext.Builder
已过时。
Registers an object by its runtime type (singleton pattern).
register(String, Model) - 类中的静态方法 io.agentscope.core.model.ModelRegistry
Registers a named Model instance.
register(String, Class<T>, T) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext.Builder
已过时。
Registers an object with key and type (multi-instance pattern).
register(String, Object) - 类中的方法 io.agentscope.core.tool.ToolExecutionContext.Builder
已过时。
Registers an object with key (type inferred from runtime).
registerAgentTool(AgentTool) - 类中的方法 io.agentscope.core.tool.Toolkit
Register an AgentTool instance directly.
registerFactory(String, ModelRegistry.ModelFactory) - 类中的静态方法 io.agentscope.core.model.ModelRegistry
Registers a factory matched against the full modelId string using Pattern.matches(java.lang.String, java.lang.CharSequence).
registerMcpClient(McpClientWrapper) - 类中的方法 io.agentscope.core.tool.Toolkit
Registers an MCP client and all its tools.
registerMetaTool() - 类中的方法 io.agentscope.core.tool.Toolkit
Register the meta tool that allows agents to dynamically manage tool groups.
registerRequest(Agent) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
 
registerSchema(ToolSchema) - 类中的方法 io.agentscope.core.tool.Toolkit
Register an external tool using only its schema definition.
registerSchemas(List<ToolSchema>) - 类中的方法 io.agentscope.core.tool.Toolkit
Register multiple external tools using their schema definitions.
registerSkill(AgentSkill) - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Registers an agent skill.
registerSkillLoadTool() - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Registers skill access tools to the provided toolkit.
registerTempDirectoryCleanup(Path) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
已过时。
Registers a shutdown hook to delete the given directory on JVM exit.
registerTool(Object) - 类中的方法 io.agentscope.core.tool.Toolkit
Register a tool object by scanning for methods annotated with @Tool.
registerToolGroup(ToolGroup) - 类中的方法 io.agentscope.core.tool.Toolkit
Register a pre-built ToolGroup instance (including subclasses).
registration() - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Create a fluent builder for registering skills with optional configuration.
registration() - 类中的方法 io.agentscope.core.tool.Toolkit
Create a fluent builder for registering tools with optional configuration.
rejected(String, String) - 类中的静态方法 io.agentscope.core.tool.coding.CommandValidator.ValidationResult
 
removeAllowedCommand(String) - 类中的方法 io.agentscope.core.tool.coding.ShellCommandTool
Remove a command from the whitelist in a thread-safe manner.
removeHook(Hook) - 类中的方法 io.agentscope.core.agent.AgentBase
Remove a hook from this agent dynamically.
removeMcpClient(String) - 类中的方法 io.agentscope.core.tool.Toolkit
Removes an MCP client and all its tools.
removeMetadata(String) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
已过时。
Removes a metadata entry.
removeResource(String) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
已过时。
Removes a resource.
removeSkill(String) - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Removes a skill completely.
removeSubscribers(String) - 类中的方法 io.agentscope.core.agent.AgentBase
Remove all subscribers for a specific MsgHub.
removeSystemHook(Hook) - 类中的静态方法 io.agentscope.core.agent.AgentBase
 
removeTool(String) - 类中的方法 io.agentscope.core.tool.ToolGroup
Removes a tool from this group.
removeTool(String) - 类中的方法 io.agentscope.core.tool.Toolkit
Remove a tool by name from the toolkit.
removeToolGroups(List<String>) - 类中的方法 io.agentscope.core.tool.Toolkit
Remove tool groups and all tools within them.
removeToolIfSame(String, AgentTool) - 类中的方法 io.agentscope.core.tool.Toolkit
Atomically remove a tool only if the registered instance is the expected one.
REPEAT_LAST_N - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
REPEAT_PENALTY - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
repeatLastN(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
repeatPenalty(Double) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
repetitionPenalty(Double) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
replyId(String) - 类中的方法 io.agentscope.core.state.AgentState.Builder
 
REQUEST_STOP - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
RequestStopEvent - io.agentscope.core.event中的类
Requests the agent to pause execution after the current phase completes.
RequestStopEvent(String) - 类的构造器 io.agentscope.core.event.RequestStopEvent
Create a stop request with the default GenerateReason.MIDDLEWARE_STOP_REQUESTED.
RequestStopEvent(String, GenerateReason) - 类的构造器 io.agentscope.core.event.RequestStopEvent
Create a stop request with an explicit generate reason.
RequestStopEvent(String, String, String, GenerateReason) - 类的构造器 io.agentscope.core.event.RequestStopEvent
 
REQUIRE_EXTERNAL_EXECUTION - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
REQUIRE_USER_CONFIRM - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
required() - 批注接口 中的元素 io.agentscope.core.tool.ToolParam
Whether this parameter is required.
Required() - 记录类的构造器 io.agentscope.core.model.ToolChoice.Required
创建 Required 记录类的实例。
RequireExternalExecutionEvent - io.agentscope.core.event中的类
Emitted when tool calls require external (out-of-process) execution.
RequireExternalExecutionEvent(String, String, String, List<ToolUseBlock>) - 类的构造器 io.agentscope.core.event.RequireExternalExecutionEvent
 
RequireExternalExecutionEvent(String, List<ToolUseBlock>) - 类的构造器 io.agentscope.core.event.RequireExternalExecutionEvent
 
requiresMultimodalApi(String) - 类中的方法 io.agentscope.core.model.DashScopeHttpClient
Check if a model requires the multimodal API.
requiresMultimodalApi(String, EndpointType) - 类中的方法 io.agentscope.core.model.DashScopeHttpClient
Check if a model requires the multimodal API based on the specified endpoint type.
RequireUserConfirmEvent - io.agentscope.core.event中的类
Emitted when the agent requires user confirmation before executing tool calls (HITL).
RequireUserConfirmEvent(String, String, String, List<ToolUseBlock>) - 类的构造器 io.agentscope.core.event.RequireUserConfirmEvent
 
RequireUserConfirmEvent(String, List<ToolUseBlock>) - 类的构造器 io.agentscope.core.event.RequireUserConfirmEvent
 
reset() - 类中的方法 io.agentscope.core.interruption.InterruptControl
Clear the interrupt signal back to its initial (non-interrupted) state.
reset() - 类中的静态方法 io.agentscope.core.model.ModelRegistry
Clears named models, user-registered factories, and the factory-resolution cache.
resetForTesting() - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
Reset manager state.
resetInterruptFlag() - 类中的方法 io.agentscope.core.agent.AgentBase
已过时。
No-op; per-session interrupt state is managed by AgentState.interruptControl().
resetSubscribers(String, List<AgentBase>) - 类中的方法 io.agentscope.core.agent.AgentBase
Reset the subscriber list for a specific MsgHub.
resetToDefault() - 类中的静态方法 io.agentscope.core.util.JsonUtils
Reset to the default JacksonJsonCodec implementation.
resetToNoop() - 类中的静态方法 io.agentscope.core.tracing.TracerRegistry
已过时。
 
resolve(String) - 类中的静态方法 io.agentscope.core.model.ModelRegistry
Resolves a Model for the given id: named registration first, then cached factory-created instance, then user factories (newest first), then built-in factories.
resolveAgentState(RuntimeContext, Agent) - 类中的静态方法 io.agentscope.core.agent.RuntimeContext
Resolves the live AgentState for the current call, preferring the call-scoped state carried on ctx (concurrency-safe) and falling back to fallbackAgent's state only when the context carries none.
resolveContext(Class<T>) - 接口中的方法 io.agentscope.core.tool.ToolExecutionContextProvider
已过时。
Resolves a context instance of the specified type.
resolveToolCallArgsJson(ToolUseBlock) - 类中的静态方法 io.agentscope.core.util.JsonUtils
Resolve the arguments JSON string from a ToolUseBlock, ensuring the result is always a valid JSON object.
resources(Map<String, String>) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
已过时。
Replaces all resources with a new map.
responseFormat(ResponseFormat) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
responseFormat(ResponseFormat) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the response format for structured output.
responseFormat(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
ResponseFormat - io.agentscope.core.formatter中的类
Response format configuration for OpenAI API.
ResponseFormat() - 类的构造器 io.agentscope.core.formatter.ResponseFormat
 
ResponseFormat.Builder - io.agentscope.core.formatter中的类
 
responseParser - 类中的变量 io.agentscope.core.formatter.openai.OpenAIBaseFormatter
 
result(ToolResultBlock) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
Appends a single ToolResultBlock.
result(String, String, String) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
Appends a ToolResultBlock built from a tool call id, tool name and result text.
resultFormat(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
results(ToolResultBlock...) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
Replaces all accumulated results with the given blocks.
results(List<ToolResultBlock>) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
Replaces all accumulated results with the given list.
retrieve(Msg) - 接口中的方法 io.agentscope.core.memory.LongTermMemory
已过时。
Retrieves relevant information from long-term memory based on the input message.
retrieve(String, RetrieveConfig) - 接口中的方法 io.agentscope.core.rag.Knowledge
已过时。
Retrieves relevant documents based on a query.
retrieveConfig(RetrieveConfig) - 类中的方法 io.agentscope.core.ReActAgent.Builder
已过时, 待删除: 此 API 元素将从以后的版本中删除。
RetrieveConfig - io.agentscope.core.rag.model中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. The rag package is removed; integrate retrieval at the application layer.
RetrieveConfig.Builder - io.agentscope.core.rag.model中的类
已过时。
Builder for RetrieveConfig.
retrieveFromMemory(List<String>) - 类中的方法 io.agentscope.core.memory.LongTermMemoryTools
已过时。
Tool function for agent to retrieve information from long-term memory.
retrieveKnowledge(String, Integer, Agent, RuntimeContext) - 类中的方法 io.agentscope.core.rag.KnowledgeRetrievalTools
已过时。
Retrieves relevant documents from the knowledge base.
RETRYABLE_ERRORS - 类中的静态变量 io.agentscope.core.model.ExecutionConfig
Predicate that determines if an error should be retried.
retryOn(Predicate<Throwable>) - 类中的方法 io.agentscope.core.model.ExecutionConfig.Builder
Sets the predicate to determine if an error should trigger a retry.
role - 类中的变量 io.agentscope.core.message.Msg.Builder
 
role(MsgRole) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
Unsupported on AssistantMessage.Builder: role is fixed to ASSISTANT.
role(MsgRole) - 类中的方法 io.agentscope.core.message.Msg.Builder
Sets the role for the message.
role(MsgRole) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
Unsupported on SystemMessage.Builder: role is fixed to SYSTEM.
role(MsgRole) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
Unsupported on ToolResultMessage.Builder: role is fixed to TOOL.
role(MsgRole) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
Unsupported on UserMessage.Builder: role is fixed to USER.
role(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage.Builder
 
role(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage.Builder
 
ruleContent() - 记录类中的方法 io.agentscope.core.permission.PermissionRule
返回 ruleContent 记录组件的值。
runLifecycle(List<Msg>, Function<List<Msg>, Mono<Msg>>) - 类中的方法 io.agentscope.core.agent.AgentBase
Shared call() lifecycle: acquire execution, then (inside deferContextual so the caller-supplied RuntimeContext is read per-subscription) run AgentBase.beforeAgentExecution(List, RuntimeContext) (which returns this call's per-call scope), carry that scope on the Reactor Context, and run the preCall → doCall → postCall chain with error handling, releasing execution on terminate.
RUNNING - 枚举类 中的枚举常量 io.agentscope.core.message.ToolResultState
 
RUNNING - 枚举类 中的枚举常量 io.agentscope.core.shutdown.ShutdownState
 
RUNTIME_CONTEXT_KEY - 类中的静态变量 io.agentscope.core.agent.AgentBase
Reactor Context key carrying the caller-supplied per-call RuntimeContext.
runtimeContext(RuntimeContext) - 类中的方法 io.agentscope.core.tool.ToolCallParam.Builder
Sets the runtime context for the tool call.
RuntimeContext - io.agentscope.core.agent中的类
Per-call metadata for an agent run: session-scoped fields plus a thread-safe attribute bag and an optional ToolExecutionContext (tool-POJO / DI layer).
RuntimeContext.Builder - io.agentscope.core.agent中的类
 
RuntimeContextAware - io.agentscope.core.hook中的接口
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
runWithContext(ContextView, Supplier<TResp>) - 接口中的方法 io.agentscope.core.tracing.Tracer
已过时。
 

S

safeCast(Object, Class<T>) - 类中的静态方法 io.agentscope.core.util.TypeUtils
Safely cast an object to the specified type.
safeCastOptional(Object, Class<T>) - 类中的静态方法 io.agentscope.core.util.TypeUtils
Safely cast an object to the specified type, returning Optional.
save(AgentState) - 接口中的方法 io.agentscope.core.shutdown.ShutdownStateSaver
Persist the given agent state snapshot.
save(String, String, String, State) - 接口中的方法 io.agentscope.core.state.AgentStateStore
Save a single state value (full replacement).
save(String, String, String, State) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
 
save(String, String, String, State) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
 
save(String, String, String, List<? extends State>) - 接口中的方法 io.agentscope.core.state.AgentStateStore
Save a list of state values.
save(String, String, String, List<? extends State>) - 类中的方法 io.agentscope.core.state.InMemoryAgentStateStore
 
save(String, String, String, List<? extends State>) - 类中的方法 io.agentscope.core.state.JsonFileAgentStateStore
 
save(List<AgentSkill>, boolean) - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
Saves or updates a skill in the repository.
save(List<AgentSkill>, boolean) - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
 
save(List<AgentSkill>, boolean) - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
 
SAVE - 枚举类 中的枚举常量 io.agentscope.core.shutdown.PartialReasoningPolicy
 
saveAgentState(RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
Persists the cached AgentState for the session identified by the given RuntimeContext.
saveAgentState(String, String) - 类中的方法 io.agentscope.core.ReActAgent
Persists the cached AgentState for the given (userId, sessionId) slot via the configured AgentStateStore.
saveBase64DataToTempFile(String, String) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
Save base64 data to a temporary file.
saveOnInterruptObserved(String) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
Called from agent's handleInterrupt when a SYSTEM interrupt is observed.
saveSkills(Path, List<AgentSkill>, boolean) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
已过时。
Saves skills to the base directory.
saveTo(AgentStateStore, String, String) - 类中的方法 io.agentscope.core.memory.AgentStateMemoryView
已过时。
 
saveTo(AgentStateStore, String, String) - 类中的方法 io.agentscope.core.memory.InMemoryMemory
已过时。
Save memory state to the session.
saveTo(AgentStateStore, String, String) - 接口中的方法 io.agentscope.core.memory.Memory
已过时。
Save the message buffer under the memory_messages session key.
saveTo(AgentStateStore, String, String) - 类中的方法 io.agentscope.core.memory.StateBackedMemory
已过时。
 
schema(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.openai.dto.JsonSchema.Builder
 
SchemaOnlyTool - io.agentscope.core.tool中的类
An external tool implementation that only contains schema definition without execution logic.
SchemaOnlyTool(ToolSchema) - 类的构造器 io.agentscope.core.tool.SchemaOnlyTool
Creates a new SchemaOnlyTool from a ToolSchema.
SchemaOnlyTool(String, String, Map<String, Object>) - 类的构造器 io.agentscope.core.tool.SchemaOnlyTool
Creates a new SchemaOnlyTool with the specified name, description, and parameters.
SchemaOnlyTool(String, String, Map<String, Object>, Boolean) - 类的构造器 io.agentscope.core.tool.SchemaOnlyTool
Creates a new SchemaOnlyTool with the specified name, description, parameters, and strict mode configuration.
scope(ToolGroupScope) - 类中的方法 io.agentscope.core.tool.ToolGroup.Builder
Sets the scope of the tool group.
scoreThreshold(double) - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig.Builder
已过时。
Sets the minimum similarity score threshold.
searchOptions(DashScopeSearchOptions) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
searchStrategy(DashScopeSearchOptions.SearchStrategy) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.Builder
 
seed(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
seed(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
seed(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
seed(Long) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the random seed for deterministic generation.
SEED - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
seedSystemMsg(Object) - 类中的方法 io.agentscope.core.agent.AgentBase
Returns the initial system message to seed into PreCallEvent before hooks run.
seedSystemMsg(Object) - 类中的方法 io.agentscope.core.ReActAgent
 
selectEndpoint(String) - 类中的方法 io.agentscope.core.model.DashScopeHttpClient
Select the appropriate API endpoint based on model name.
selectEndpoint(String, EndpointType) - 类中的方法 io.agentscope.core.model.DashScopeHttpClient
Select the appropriate API endpoint based on model name and endpoint type.
send(T) - 类中的方法 io.agentscope.core.model.transport.websocket.JdkWebSocketConnection
 
send(T) - 类中的方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketConnection
 
send(T) - 接口中的方法 io.agentscope.core.model.transport.websocket.WebSocketConnection
Send a message.
serialize(ThinkOption, JsonGenerator, SerializerProvider) - 类中的方法 io.agentscope.core.model.ollama.ThinkOption.ThinkOptionSerializer
 
serialize(Object, Type) - 类中的方法 io.agentscope.core.tool.DefaultToolResultConverter
Serialize result to JSON string with schema.
serviceTier(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
sessionId() - 记录类中的方法 io.agentscope.core.shutdown.ShutdownSessionBinding
已过时。
返回 sessionId 记录组件的值。
sessionId(String) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
已过时。
 
sessionId(String) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
 
sessionId(String) - 类中的方法 io.agentscope.core.state.AgentState.Builder
 
SessionInfo - io.agentscope.core.state中的类
Information about a session.
SessionInfo(String, long, long, int) - 类的构造器 io.agentscope.core.state.SessionInfo
Create a new SessionInfo instance.
setAcceptedPredictionTokens(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage.CompletionTokensDetails
 
setActivatedGroups(List<String>) - 类中的方法 io.agentscope.core.state.ToolContextState
Replace the activated tool groups with the given list.
setActive(boolean) - 类中的方法 io.agentscope.core.tool.ToolGroup
Sets the activation state of this tool group.
setActiveGroups(List<String>) - 类中的方法 io.agentscope.core.tool.Toolkit
Set the active tool groups.
setAgentState(AgentState) - 类中的方法 io.agentscope.core.agent.RuntimeContext
Installs the call-scoped AgentState.
setArguments(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeFunction
 
setArguments(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIFunction
 
setArguments(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaFunction
 
setAudio(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
setAudio(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setAudioTokens(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeUsage
 
setAudioTokens(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage.CompletionTokensDetails
 
setAudioTokens(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage.PromptTokensDetails
 
setAutoUploadSkill(boolean) - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Sets whether skill files are automatically uploaded.
setCacheControl(Map<String, String>) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
setCacheControl(Map<String, String>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
setCachedTokens(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage.PromptTokensDetails
 
setChoices(List<DashScopeChoice>) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeOutput
 
setChoices(List<OpenAIChoice>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
setChunkCallback(BiConsumer<ToolUseBlock, ToolResultBlock>) - 类中的方法 io.agentscope.core.tool.Toolkit
Set the chunk callback for streaming tool responses.
setCitationFormat(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
setCode(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopePublicKeyResponse
 
setCode(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeResponse
 
setCode(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIError
 
setCode(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
setCodeExecutionEnable(boolean) - 类中的方法 io.agentscope.core.skill.AgentSkillPromptProvider
已过时。
Sets whether code execution instructions are included in the skill system prompt.
setCodeExecutionInstruction(String) - 类中的方法 io.agentscope.core.skill.AgentSkillPromptProvider
已过时。
Sets a custom code execution instruction template.
setCompletionTokens(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage
 
setCompletionTokensDetails(OpenAIUsage.CompletionTokensDetails) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage
 
setConfig(GracefulShutdownConfig) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
 
setContent(Object) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
setContent(Object) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
setContent(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaMessage
 
setCreated(Long) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
setCreatedAt(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
setCurIter(int) - 类中的方法 io.agentscope.core.state.AgentState
 
setCurrentPlanFile(String) - 类中的方法 io.agentscope.core.state.PlanModeContextState
 
setData(DashScopePublicKeyResponse.PublicKeyData) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopePublicKeyResponse
 
setData(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIInputAudio
 
setData(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIReasoningDetail
 
setDefault(HttpTransport) - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportFactory
Set the default HttpTransport instance.
setDelta(OpenAIMessage) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIChoice
 
setDescription(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolFunction
 
setDescription(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaToolFunction
 
setDescription(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.JsonSchema
 
setDescription(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction
 
setDetail(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIImageUrl
 
setDone(Boolean) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
setDoneReason(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
setEmbedding(double[]) - 类中的方法 io.agentscope.core.rag.model.Document
已过时。
Sets the embedding vector.
setEmbeddings(List<float[]>) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingResponse
 
setEnableCitation(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
setEnableCodeInterpreter(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setEnableSearch(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setEnableSearchExtension(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
setEnableSource(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
setEnableThinking(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setEndpointType(EndpointType) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest
Sets the endpoint type for endpoint selection.
setError(OpenAIError) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
setError(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
setEvalCount(Integer) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
setEvalDuration(Long) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
setExecutionConfig(ExecutionConfig) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setExposeAllMetadata(boolean) - 类中的方法 io.agentscope.core.skill.AgentSkillPromptProvider
已过时。
Sets whether all metadata fields are exposed to the LLM.
setExposeAllSkillMetadata(boolean) - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Controls whether the skill prompt exposes all metadata fields or only the core fields.
setExtraParams(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setF16KV(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setFinalMessage(Msg) - 类中的方法 io.agentscope.core.hook.PostCallEvent
已过时。
Modify the final response message.
setFinishReason(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeChoice
 
setFinishReason(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeOutput
 
setFinishReason(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIChoice
 
setForcedSearch(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
setFormat(Object) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
setFormat(Object) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setFormat(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIInputAudio
 
setFormat(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIReasoningDetail
 
setFps(Float) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
setFrequencyPenalty(Double) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setFrequencyPenalty(Double) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setFrequencyPenalty(Double) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setFunction(DashScopeFunction) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall
 
setFunction(DashScopeToolFunction) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeTool
 
setFunction(OllamaFunction) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaToolCall
 
setFunction(OllamaToolFunction) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaTool
 
setFunction(OpenAIFunction) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall
 
setFunction(OpenAIToolFunction) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAITool
 
setGenerateOptions(GenerateOptions) - 类中的方法 io.agentscope.core.hook.PreReasoningEvent
已过时。
Set custom generation options for this reasoning call.
setGenerateOptions(GenerateOptions) - 类中的方法 io.agentscope.core.hook.PreSummaryEvent
已过时。
Set custom generation options for this summary call.
setId(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall
 
setId(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIReasoningDetail
 
setId(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
setId(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall
 
setImage(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
setImages(List<String>) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaMessage
 
setImageTokens(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeUsage
 
setImageUrl(OpenAIImageUrl) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
 
setIncludeReasoning(Boolean) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setIncludeUsage(Boolean) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIStreamOptions
 
setIncrementalOutput(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setIndex(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeChoice
 
setIndex(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall
 
setIndex(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIChoice
 
setIndex(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIReasoningDetail
 
setIndex(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall
 
setInput(DashScopeInput) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest
 
setInput(List<String>) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingRequest
 
setInputAudio(OpenAIInputAudio) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
 
setInputMessages(List<Msg>) - 类中的方法 io.agentscope.core.hook.PreCallEvent
已过时。
Modify the input messages for the agent call.
setInputMessages(List<Msg>) - 类中的方法 io.agentscope.core.hook.PreReasoningEvent
已过时。
Modify the messages to send to LLM.
setInputMessages(List<Msg>) - 类中的方法 io.agentscope.core.hook.PreSummaryEvent
已过时。
Modify the messages to send to LLM for summary.
setInputTokens(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeUsage
 
setInternalChunkCallback(BiConsumer<ToolUseBlock, ToolResultBlock>) - 类中的方法 io.agentscope.core.tool.Toolkit
Set the framework-internal chunk callback for streaming tool responses.
setJsonCodec(JsonCodec) - 类中的静态方法 io.agentscope.core.util.JsonUtils
Set a custom JsonCodec implementation.
setJsonSchema(JsonSchema) - 类中的方法 io.agentscope.core.formatter.ResponseFormat
 
setKeepAlive(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingRequest
 
setKeepAlive(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
setKeepAlive(String) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setLoadDuration(Long) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingResponse
 
setLoadDuration(Long) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
setLogitsAll(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setLogprobs(Boolean) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setLogprobs(Object) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIChoice
 
setLowVRAM(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setMainGPU(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setMaxCompletionTokens(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setMaxFrames(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
setMaxPixels(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
setMaxTokens(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setMaxTokens(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setMaxTokens(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setMessage(DashScopeMessage) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeChoice
 
setMessage(OllamaMessage) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
setMessage(OpenAIMessage) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIChoice
 
setMessage(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopePublicKeyResponse
 
setMessage(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeResponse
 
setMessage(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIError
 
setMessage(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
setMessages(List<DashScopeMessage>) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeInput
 
setMessages(List<OllamaMessage>) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
setMessages(List<OpenAIMessage>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setMetadata(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setMinP(Double) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setMinPixels(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
setMirostat(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setMirostatEta(Float) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setMirostatTau(Float) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setModalities(List<String>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setModel(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest
 
setModel(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingRequest
 
setModel(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingResponse
 
setModel(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
setModel(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
setModel(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setModel(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
setModel(String) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setN(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setName(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeFunction
 
setName(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
setName(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolFunction
 
setName(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaFunction
 
setName(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaMessage
 
setName(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaToolFunction
 
setName(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.JsonSchema
 
setName(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIFunction
 
setName(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
setName(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction
 
setNumBatch(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setNumCtx(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setNumGPU(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setNumKeep(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setNumPredict(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setNumThread(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setObject(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
setOptions(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingRequest
 
setOptions(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
setOutput(DashScopeOutput) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeResponse
 
setOutputTokens(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeUsage
 
setParallelToolCalls(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setParallelToolCalls(Boolean) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setParam(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIError
 
setParameters(DashScopeParameters) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeRequest
 
setParameters(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolFunction
 
setParameters(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaToolFunction
 
setParameters(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction
 
setPenalizeNewline(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setPermissionContext(PermissionContextState) - 类中的方法 io.agentscope.core.state.AgentState
Replaces the permission context for this session.
setPermissionMode(RuntimeContext, PermissionMode) - 类中的方法 io.agentscope.core.ReActAgent
Switches the PermissionMode for the session identified by the given RuntimeContext.
setPermissionMode(String, String, PermissionMode) - 类中的方法 io.agentscope.core.ReActAgent
Switches the PermissionMode for the given (userId, sessionId) session at runtime and rebuilds that session's cached PermissionEngine so the change takes effect on the next tool evaluation.
setPlanActive(boolean) - 类中的方法 io.agentscope.core.state.PlanModeContextState
 
setPrediction(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setPrependSearchResult(Boolean) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
setPresencePenalty(Double) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setPresencePenalty(Double) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setPresencePenalty(Double) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setPromptEvalCount(Integer) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingResponse
 
setPromptEvalCount(Integer) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
setPromptEvalDuration(Long) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
setPromptTokens(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage
 
setPromptTokensDetails(OpenAIUsage.PromptTokensDetails) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage
 
setPublicKey(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopePublicKeyResponse.PublicKeyData
 
setPublicKeyId(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopePublicKeyResponse.PublicKeyData
 
setReasoningContent(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
setReasoningContent(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
setReasoningDetails(List<OpenAIReasoningDetail>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
setReasoningEffort(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setReasoningMessage(Msg) - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
已过时。
Modify the reasoning result message.
setReasoningTokens(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage.CompletionTokensDetails
 
setRefusal(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
setRejectedPredictionTokens(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage.CompletionTokensDetails
 
setRepeatLastN(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setRepeatPenalty(Double) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setRepetitionPenalty(Double) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setReplyId(String) - 类中的方法 io.agentscope.core.state.AgentState
 
setRequestId(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopePublicKeyResponse
 
setRequestId(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeResponse
 
setResponseFormat(ResponseFormat) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setResponseFormat(Object) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setResultFormat(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setRole(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
setRole(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaMessage
 
setRole(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
setRuntimeContext(RuntimeContext) - 接口中的方法 io.agentscope.core.hook.RuntimeContextAware
已过时。
Injects the runtime context for the current call, or null when not executing or when clearing after a call.
setSchema(Map<String, Object>) - 类中的方法 io.agentscope.core.formatter.openai.dto.JsonSchema
 
setScore(Double) - 类中的方法 io.agentscope.core.rag.model.Document
已过时。
Sets the similarity score.
setSearchOptions(DashScopeSearchOptions) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setSearchStrategy(DashScopeSearchOptions.SearchStrategy) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions
 
setSeed(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setSeed(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setSeed(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setServiceTier(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setShutdownInterrupted(boolean) - 类中的方法 io.agentscope.core.state.AgentState
 
setSkillActive(String, boolean) - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Sets the activation state of a specific skill.
setStatus(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
setStop(Object) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setStop(List<String>) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setStop(List<String>) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setStopSequences(List<String>) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setStore(Boolean) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setStream(Boolean) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
setStream(Boolean) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setStreamOptions(OpenAIStreamOptions) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setStrict(Boolean) - 类中的方法 io.agentscope.core.formatter.openai.dto.JsonSchema
 
setStrict(Boolean) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction
 
setSummary(String) - 类中的方法 io.agentscope.core.state.AgentState
 
setSummaryMessage(Msg) - 类中的方法 io.agentscope.core.hook.PostSummaryEvent
已过时。
Modify the summary result message.
setSystemFingerprint(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
setSystemMessage(Msg) - 类中的方法 io.agentscope.core.hook.HookEvent
已过时。
Replaces the entire system message with the given one.
setTemperature(Double) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setTemperature(Double) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setTemperature(Double) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setText(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
setText(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeOutput
 
setText(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
 
setText(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIReasoningDetail
 
setTfsZ(Float) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setThink(Object) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
setThinkingBudget(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setThinkOption(ThinkOption) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setThoughtSignature(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIFunction
 
setThoughtSignature(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall
 
setToolCallId(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
setToolCallId(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaMessage
 
setToolCallId(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
setToolCalls(List<DashScopeToolCall>) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage
 
setToolCalls(List<OllamaToolCall>) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaMessage
 
setToolCalls(List<OpenAIToolCall>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage
 
setToolChoice(Object) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setToolChoice(Object) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
setToolChoice(Object) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setToolResult(ToolResultBlock) - 类中的方法 io.agentscope.core.hook.PostActingEvent
已过时。
Modify the tool execution result.
setToolResultMsg(Msg) - 类中的方法 io.agentscope.core.hook.PostActingEvent
已过时。
Set the tool result message.
setTools(List<DashScopeTool>) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setTools(List<OllamaTool>) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest
 
setTools(List<OpenAITool>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setToolUse(ToolUseBlock) - 类中的方法 io.agentscope.core.hook.PreActingEvent
已过时。
Modify the tool call (e.g., change parameters).
setTopK(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setTopK(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setTopLogprobs(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setTopP(Double) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters
 
setTopP(Double) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setTopP(Double) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setTotalDuration(Long) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingResponse
 
setTotalDuration(Long) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaResponse
 
setTotalPixels(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
setTotalTokens(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeUsage
 
setTotalTokens(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIUsage
 
setTruncate(Boolean) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaEmbeddingRequest
 
setTruncate(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setType(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeTool
 
setType(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall
 
setType(String) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaTool
 
setType(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
 
setType(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIError
 
setType(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIReasoningDetail
 
setType(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAITool
 
setType(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall
 
setType(String) - 类中的方法 io.agentscope.core.formatter.ResponseFormat
 
setTypicalP(Float) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setUploadDir(Path) - 类中的方法 io.agentscope.core.skill.AgentSkillPromptProvider
已过时。
Sets the upload directory whose absolute path replaces every %s placeholder in the code execution instruction template.
setUrl(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIImageUrl
 
setUrl(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIVideoUrl
 
setUsage(DashScopeUsage) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeResponse
 
setUsage(OpenAIUsage) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIResponse
 
setUseMLock(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setUseMMap(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setUseNUMA(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setUser(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest
 
setVectorName(String) - 类中的方法 io.agentscope.core.rag.model.Document
已过时。
Sets the document vector name.
setVideo(Object) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
 
setVideoTokens(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeUsage
 
setVideoUrl(OpenAIVideoUrl) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
 
setVocabOnly(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
setWorkDir(Path) - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Sets a stable working directory for resource uploads and code execution.
setWriteable(boolean) - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
Sets the writeable flag for this repository.
setWriteable(boolean) - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
 
setWriteable(boolean) - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
 
ShellCommandTool - io.agentscope.core.tool.coding中的类
Tool for executing shell commands with security validation.
ShellCommandTool() - 类的构造器 io.agentscope.core.tool.coding.ShellCommandTool
 
ShellCommandTool(String, Set<String>, Function<String, Boolean>) - 类的构造器 io.agentscope.core.tool.coding.ShellCommandTool
Constructor with base directory, command whitelist, and approval callback.
ShellCommandTool(String, Set<String>, Function<String, Boolean>, CommandValidator) - 类的构造器 io.agentscope.core.tool.coding.ShellCommandTool
Constructor with base directory, command whitelist, approval callback, and custom validator.
ShellCommandTool(String, Set<String>, Function<String, Boolean>, CommandValidator, Charset) - 类的构造器 io.agentscope.core.tool.coding.ShellCommandTool
Full constructor with all configuration options including charset.
ShellCommandTool(Set<String>) - 类的构造器 io.agentscope.core.tool.coding.ShellCommandTool
 
ShellCommandTool(Set<String>, Function<String, Boolean>) - 类的构造器 io.agentscope.core.tool.coding.ShellCommandTool
Constructor with command whitelist and approval callback.
ShellCommandTool(Set<String>, Function<String, Boolean>, CommandValidator) - 类的构造器 io.agentscope.core.tool.coding.ShellCommandTool
Constructor with command whitelist, approval callback, and custom validator.
shouldBypass(String) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
Check if the given hostname should bypass the proxy.
shouldBypassHistory(Msg) - 类中的方法 io.agentscope.core.formatter.AbstractBaseFormatter
Check if a message should bypass history merging in multiagent formatters.
shouldIncludeReasoningEmission(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions
Convenience method for stream implementations to decide whether to emit a reasoning subtype.
shouldIncludeSummaryEmission(boolean) - 类中的方法 io.agentscope.core.agent.StreamOptions
Convenience method for stream implementations to decide whether to emit a summary subtype.
shouldStream(EventType) - 类中的方法 io.agentscope.core.agent.StreamOptions
Check if a specific event type should be streamed.
shutdown() - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportFactory
Shutdown and close all managed transports.
shutdown() - 类中的方法 io.agentscope.core.model.transport.websocket.JdkWebSocketTransport
 
shutdown() - 类中的方法 io.agentscope.core.model.transport.websocket.OkHttpWebSocketTransport
 
shutdown() - 接口中的方法 io.agentscope.core.model.transport.WebSocketTransport
Shutdown the client and release resources.
shutdown() - 接口中的方法 io.agentscope.core.tracing.Tracer
已过时。
 
SHUTDOWN_REQUEST_ID_KEY - 类中的静态变量 io.agentscope.core.agent.AgentBase
Reactor Context key carrying this call's graceful-shutdown requestId (issued by GracefulShutdownManager.registerRequest(io.agentscope.core.agent.Agent)).
shutdownInterrupted(boolean) - 类中的方法 io.agentscope.core.state.AgentState.Builder
 
ShutdownSessionBinding - io.agentscope.core.shutdown中的记录类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
ShutdownSessionBinding(AgentStateStore, String, String) - 记录类的构造器 io.agentscope.core.shutdown.ShutdownSessionBinding
已过时。
创建 ShutdownSessionBinding 记录类的实例。
ShutdownState - io.agentscope.core.shutdown中的枚举类
Global framework shutdown state.
ShutdownStateSaver - io.agentscope.core.shutdown中的接口
Strategy for persisting AgentState during graceful shutdown.
shutdownTimeout() - 记录类中的方法 io.agentscope.core.shutdown.GracefulShutdownConfig
返回 shutdownTimeout 记录组件的值。
SHUTTING_DOWN - 枚举类 中的枚举常量 io.agentscope.core.shutdown.ShutdownState
 
SimpleExtendedModel - io.agentscope.core.tool中的类
Simple implementation of ExtendedModel using maps.
SimpleExtendedModel(Map<String, Object>, List<String>) - 类的构造器 io.agentscope.core.tool.SimpleExtendedModel
 
skill(AgentSkill) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
已过时。
Set the skill to register.
SKILL_HOOK_PRIORITY - 类中的静态变量 io.agentscope.core.skill.SkillHook
已过时。
Runs after subagent prompt injection and before workspace context injection in the default harness hook chain.
skillBox(SkillBox) - 类中的方法 io.agentscope.core.ReActAgent.Builder
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Skills now flow through ReActAgent.Builder.skillRepository(io.agentscope.core.skill.repository.AgentSkillRepository) / ReActAgent.Builder.skillRepositories; legacy SkillBox instances are still accepted for source compatibility, but combining a skillBox(...) with skillRepository(...) is untested — new code should prefer ReActAgent.Builder.skillRepository(AgentSkillRepository).
SkillBox - io.agentscope.core.skill中的类
已过时。
since 2.0.0. The skill package is removed; manage markdown skill catalogs in application code.
SkillBox(Toolkit) - 类的构造器 io.agentscope.core.skill.SkillBox
已过时。
 
SkillBox(Toolkit, String) - 类的构造器 io.agentscope.core.skill.SkillBox
已过时。
Creates a SkillBox with a toolkit and custom skill prompt instruction.
SkillBox.SkillRegistration - io.agentscope.core.skill中的类
已过时。
Fluent builder for registering skills with optional configuration.
skillBuilder() - 类中的静态方法 io.agentscope.core.tool.SkillToolGroup
Creates a new builder for constructing SkillToolGroup instances.
skillCodeExecutionEnabled(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Enables the code-execution prompt block emitted by AgentSkillPromptProvider.
skillContent(String) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
已过时。
Sets the skill content.
skillExists(String) - 接口中的方法 io.agentscope.core.skill.repository.AgentSkillRepository
Checks if a skill exists in the repository.
skillExists(String) - 类中的方法 io.agentscope.core.skill.repository.ClasspathSkillRepository
 
skillExists(String) - 类中的方法 io.agentscope.core.skill.repository.FileSystemSkillRepository
 
skillExists(Path, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
已过时。
Checks whether a skill exists by scanning SKILL.md metadata.
SkillFileFilter - io.agentscope.core.skill中的接口
已过时。
since 2.0.0. The skill package is removed; manage markdown skill catalogs in application code.
SkillFileSystemHelper - io.agentscope.core.skill.util中的类
已过时。
since 2.0.0. The skill package is removed; manage markdown skill catalogs in application code.
skillFilter(SkillFilter) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Builder-time SkillFilter applied by the auto-installed DynamicSkillMiddleware.
SkillFilter - io.agentscope.core.skill中的类
Immutable filter that decides which skills are allowed in a prompt.
SkillHook - io.agentscope.core.skill中的类
已过时。
since 2.0.0. The skill package and the hook system are removed; manage markdown skill catalogs in application code or via MiddlewareBase.
SkillHook(SkillBox) - 类的构造器 io.agentscope.core.skill.SkillHook
已过时。
 
SkillRegistration(SkillBox) - 类的构造器 io.agentscope.core.skill.SkillBox.SkillRegistration
已过时。
 
skillRepositories(List<AgentSkillRepository>) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Replaces the current repository list with the supplied collection.
skillRepository(AgentSkillRepository) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Adds a single AgentSkillRepository to the layered skill stack.
SkillToolGroup - io.agentscope.core.tool中的类
A ToolGroup that is bound to a specific skill.
SkillToolGroup.Builder - io.agentscope.core.tool中的类
Builder for constructing SkillToolGroup instances.
SkillUtil - io.agentscope.core.skill.util中的类
已过时。
since 2.0.0. The skill package is removed; manage markdown skill catalogs in application code.
skillWorkDir(Path) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Sets a stable working directory used by DynamicSkillMiddleware for uploadSkillFiles.
socks4(String, int) - 类中的静态方法 io.agentscope.core.model.transport.ProxyConfig
Create a simple SOCKS4 proxy configuration.
SOCKS4 - 枚举类 中的枚举常量 io.agentscope.core.model.transport.ProxyType
SOCKS version 4 proxy.
socks5(String, int) - 类中的静态方法 io.agentscope.core.model.transport.ProxyConfig
Create a simple SOCKS5 proxy configuration without authentication.
socks5(String, int, String, String) - 类中的静态方法 io.agentscope.core.model.transport.ProxyConfig
Create a SOCKS5 proxy configuration with authentication.
SOCKS5 - 枚举类 中的枚举常量 io.agentscope.core.model.transport.ProxyType
SOCKS version 5 proxy.
source() - 记录类中的方法 io.agentscope.core.permission.AdditionalWorkingDirectory
返回 source 记录组件的值。
source() - 记录类中的方法 io.agentscope.core.permission.PermissionRule
返回 source 记录组件的值。
source(InterruptSource) - 类中的方法 io.agentscope.core.interruption.InterruptContext.Builder
Set the source of the interruption.
source(Source) - 类中的方法 io.agentscope.core.message.AudioBlock.Builder
Sets the source for the audio content.
source(Source) - 类中的方法 io.agentscope.core.message.DataBlock.Builder
Sets the source for the data block.
source(Source) - 类中的方法 io.agentscope.core.message.ImageBlock.Builder
Sets the source for the image.
source(Source) - 类中的方法 io.agentscope.core.message.VideoBlock.Builder
Sets the source for the video content.
source(String) - 类中的方法 io.agentscope.core.skill.AgentSkill.Builder
已过时。
Sets the source identifier.
Source - io.agentscope.core.message中的类
Base class for media sources (URL or Base64).
Source() - 类的构造器 io.agentscope.core.message.Source
 
Specific(String) - 记录类的构造器 io.agentscope.core.model.ToolChoice.Specific
Creates a Specific tool choice.
sseTransport(String) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Configures HTTP SSE (Server-Sent Events) transport for stateful connections.
Standard Defaults - 类 io.agentscope.core.model.ExecutionConfig中的搜索标记
节
state(ToolCallState) - 类中的方法 io.agentscope.core.message.ToolUseBlock.Builder
Sets the tool call state.
state(ToolResultState) - 类中的方法 io.agentscope.core.message.ToolResultBlock.Builder
Sets the tool result state.
state(Task.State) - 类中的方法 io.agentscope.core.state.Task.Builder
 
State - io.agentscope.core.state中的接口
Marker interface for persistable state objects.
StateBackedMemory - io.agentscope.core.memory中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use AgentState.getContext() directly.
StateBackedMemory(AgentState) - 类的构造器 io.agentscope.core.memory.StateBackedMemory
已过时。
 
stateForCall(Object) - 类中的方法 io.agentscope.core.agent.AgentBase
Returns the AgentState whose conversation buffer should seed the pre-call memory snapshot for this invocation.
stateForCall(Object) - 类中的方法 io.agentscope.core.ReActAgent
 
stateInjected() - 批注接口 中的元素 io.agentscope.core.tool.Tool
Whether the tool requires the agent state to be injected at call time.
stateInjected(boolean) - 类中的方法 io.agentscope.core.tool.ToolBase.Builder
 
stateStore() - 记录类中的方法 io.agentscope.core.shutdown.ShutdownSessionBinding
已过时。
返回 stateStore 记录组件的值。
stateStore(AgentStateStore) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Sets the AgentStateStore backing automatic AgentState load (at construction) and save (after every successful call() and on graceful shutdown).
stateStore(AgentStateStore) - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig.Builder
Sets the session for conversation state management.
STATIC_CONTROL - 枚举类 中的枚举常量 io.agentscope.core.memory.LongTermMemoryMode
已过时。
Framework automatically manages memory without agent involvement.
StaticLongTermMemoryHook - io.agentscope.core.memory中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Long-term memory and the Hook system are removed; reimplement as a MiddlewareBase if required.
StaticLongTermMemoryHook(LongTermMemory, Memory) - 类的构造器 io.agentscope.core.memory.StaticLongTermMemoryHook
已过时。
Creates a new StaticLongTermMemoryHook with synchronous recording.
StaticLongTermMemoryHook(LongTermMemory, Memory, boolean) - 类的构造器 io.agentscope.core.memory.StaticLongTermMemoryHook
已过时。
Creates a new StaticLongTermMemoryHook.
statusCode(int) - 类中的方法 io.agentscope.core.model.transport.HttpResponse.Builder
Set the HTTP status code.
stdioTransport(String, String...) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Configures StdIO transport for local process communication.
stdioTransport(String, List<String>, Map<String, String>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Configures StdIO transport with environment variables.
stop(Object) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
stop(List<String>) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
stop(List<String>) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
STOP - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
stopAgent() - 类中的方法 io.agentscope.core.hook.PostActingEvent
已过时。
Request to stop the agent after this acting phase.
stopAgent() - 类中的方法 io.agentscope.core.hook.PostReasoningEvent
已过时。
Request to stop the agent after this reasoning phase.
stopAgent() - 类中的方法 io.agentscope.core.hook.PostSummaryEvent
已过时。
Request to stop the agent after this summary phase.
stopOnReject() - 记录类中的方法 io.agentscope.core.agent.config.ReactConfig
返回 stopOnReject 记录组件的值。
stopOnReject(boolean) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Controls whether a permission rejection of any tool call terminates the reasoning loop (instead of feeding the rejection back into the next reasoning round).
store(Boolean) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
stream(boolean) - 类中的方法 io.agentscope.core.model.AnthropicChatModel.Builder
Enables or disables streaming.
stream(boolean) - 类中的方法 io.agentscope.core.model.DashScopeChatModel.Builder
Sets whether streaming should be enabled.
stream(boolean) - 类中的方法 io.agentscope.core.model.OpenAIChatModel.Builder
Sets whether streaming should be enabled.
stream(StreamOptions) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent#streamEvents(...) for the fine-grained AgentEvent stream.
stream(StreamOptions, Class<?>) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent#streamEvents(...) for the fine-grained AgentEvent stream.
stream(DashScopeRequest, Map<String, String>, Map<String, Object>, Map<String, String>) - 类中的方法 io.agentscope.core.model.DashScopeHttpClient
Make a streaming API call with additional HTTP parameters.
stream(OllamaRequest) - 类中的方法 io.agentscope.core.model.OllamaHttpClient
Make a streaming Chat API call.
stream(Msg) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent#streamEvents(Msg) for the fine-grained AgentEvent stream.
stream(Msg, StreamOptions) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent#streamEvents(Msg) for the fine-grained AgentEvent stream.
stream(Msg, StreamOptions, JsonNode) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent#streamEvents(...) for the fine-grained AgentEvent stream.
stream(Msg, StreamOptions, Class<?>) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent#streamEvents(...) for the fine-grained AgentEvent stream.
stream(HttpRequest) - 接口中的方法 io.agentscope.core.model.transport.HttpTransport
Execute a streaming HTTP request (Server-Sent Events).
stream(HttpRequest) - 类中的方法 io.agentscope.core.model.transport.JdkHttpTransport
 
stream(HttpRequest) - 类中的方法 io.agentscope.core.model.transport.OkHttpTransport
 
stream(Boolean) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest.Builder
 
stream(Boolean) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
stream(Boolean) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets whether streaming mode is enabled.
stream(Class<?>) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent#streamEvents(...) for the fine-grained AgentEvent stream.
stream(String, String, OpenAIRequest, GenerateOptions) - 类中的方法 io.agentscope.core.model.OpenAIClient
Make a streaming API call with options for headers and query params.
stream(List<Msg>) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent#streamEvents(List) for the fine-grained AgentEvent stream.
stream(List<Msg>, StreamOptions) - 类中的方法 io.agentscope.core.agent.AgentBase
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent#streamEvents(List) for the fine-grained AgentEvent stream.
stream(List<Msg>, StreamOptions) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent#streamEvents(List) for the fine-grained AgentEvent stream.
stream(List<Msg>, StreamOptions, JsonNode) - 类中的方法 io.agentscope.core.agent.AgentBase
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent#streamEvents(...) for the fine-grained AgentEvent stream.
stream(List<Msg>, StreamOptions, JsonNode) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent#streamEvents(...) for the fine-grained AgentEvent stream.
stream(List<Msg>, StreamOptions, JsonNode, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent.streamEvents(List) for the fine-grained AgentEvent stream.
stream(List<Msg>, StreamOptions, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent.streamEvents(List) (and overloads that accept RuntimeContext via call()-driven lifecycle) for the fine-grained AgentEvent stream.
stream(List<Msg>, StreamOptions, Class<?>) - 类中的方法 io.agentscope.core.agent.AgentBase
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent#streamEvents(...) for the fine-grained AgentEvent stream.
stream(List<Msg>, StreamOptions, Class<?>) - 接口中的方法 io.agentscope.core.agent.StreamableAgent
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent#streamEvents(...) for the fine-grained AgentEvent stream.
stream(List<Msg>, StreamOptions, Class<?>, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal. Use ReActAgent.streamEvents(List) for the fine-grained AgentEvent stream.
stream(List<Msg>, List<ToolSchema>, GenerateOptions) - 类中的方法 io.agentscope.core.model.ChatModelBase
Stream chat completion responses.
stream(List<Msg>, List<ToolSchema>, GenerateOptions) - 接口中的方法 io.agentscope.core.model.Model
Stream chat completion responses.
STREAM_FORMAT_HEADER - 类中的静态变量 io.agentscope.core.model.transport.TransportConstants
Header name for specifying stream format.
STREAM_FORMAT_NDJSON - 类中的静态变量 io.agentscope.core.model.transport.TransportConstants
Value for NDJSON stream format.
StreamableAgent - io.agentscope.core.agent中的接口
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0, for removal in a future minor release. Every stream(...) method on this interface returns the coarse-grained Event type, which is a v1 carry-over. Use ReActAgent#streamEvents(...) instead — it returns Flux<io.agentscope.core.event.AgentEvent>, the fine-grained event hierarchy that covers the full agent lifecycle (28 typed events including HITL) and is the single streaming surface going forward. See the v2 changelog section B.4 for migration details.
streamableHttpTransport(String) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Configures HTTP StreamableHTTP transport for stateless connections.
streamEnabled(boolean) - 类中的方法 io.agentscope.core.model.GeminiChatModel.Builder
Sets whether streaming is enabled.
streamEvents(Msg) - 类中的方法 io.agentscope.core.ReActAgent
Stream fine-grained AgentEvents for a single input message.
streamEvents(Msg, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
Stream fine-grained AgentEvents for a single input message with a caller-supplied RuntimeContext.
streamEvents(List<Msg>) - 类中的方法 io.agentscope.core.ReActAgent
Stream fine-grained AgentEvents from the full agent lifecycle.
streamEvents(List<Msg>, RuntimeContext) - 类中的方法 io.agentscope.core.ReActAgent
Stream fine-grained AgentEvents with a caller-supplied RuntimeContext.
StreamingHook - io.agentscope.core.agent中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Replaced by the MiddlewareBase system. Use ReActAgent.streamEvents(java.util.List) for fine-grained event streaming.
StreamingHook(FluxSink<Event>, StreamOptions) - 类的构造器 io.agentscope.core.agent.StreamingHook
已过时。
Creates a new streaming hook.
streamOptions(StreamOptions) - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig.Builder
Sets the stream options for event forwarding.
streamOptions(OpenAIStreamOptions) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
StreamOptions - io.agentscope.core.agent中的类
StreamOptions.Builder - io.agentscope.core.agent中的类
Builder for StreamOptions.
StreamUserInput - io.agentscope.core.agent.user中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
StreamUserInput.Builder - io.agentscope.core.agent.user中的类
已过时。
Builder for StreamUserInput.
strict() - 批注接口 中的元素 io.agentscope.core.tool.Tool
Whether to enable strict schema mode for this tool.
strict(Boolean) - 类中的方法 io.agentscope.core.formatter.openai.dto.JsonSchema.Builder
 
strict(Boolean) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolFunction.Builder
 
strict(Boolean) - 类中的方法 io.agentscope.core.model.ToolSchema.Builder
Sets the strict mode for schema validation.
STRUCTURED_OUTPUT - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
Structured output completed.
STRUCTURED_OUTPUT - 类中的静态变量 io.agentscope.core.message.MessageMetadataKeys
Metadata key for structured output data.
STRUCTURED_OUTPUT_REMINDER - 类中的静态变量 io.agentscope.core.message.MessageMetadataKeys
Metadata key to mark structured output reminder messages.
STRUCTURED_OUTPUT_REMINDER_TYPE - 类中的静态变量 io.agentscope.core.message.MessageMetadataKeys
Metadata key for the type of structured output reminder.
STRUCTURED_OUTPUT_TOOL_NAME - 类中的静态变量 io.agentscope.core.ReActAgent
Tool name used for the per-call structured-output generate_response tool.
StructuredOutputReminder - io.agentscope.core.model中的枚举类
Configuration for how to ensure the model calls generate_response tool in structured output mode.
subAgent(SubAgentProvider<?>) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
已过时。
Register a sub-agent as a tool with default configuration.
subAgent(SubAgentProvider<?>) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
Register a sub-agent as a tool with default configuration.
subAgent(SubAgentProvider<?>, SubAgentConfig) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
已过时。
Register a sub-agent as a tool with custom configuration.
subAgent(SubAgentProvider<?>, SubAgentConfig) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
Register a sub-agent as a tool with custom configuration.
SUBAGENT_EXPOSED - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
SubAgentConfig - io.agentscope.core.tool.subagent中的类
Configuration for sub-agent registration.
SubAgentConfig.Builder - io.agentscope.core.tool.subagent中的类
Builder for SubAgentConfig.
SubagentEventBus - io.agentscope.core.agent中的接口
A lightweight channel that allows synchronously-invoked subagents to push their Events into the parent agent's Flux<Event> stream.
SubagentExposedEvent - io.agentscope.core.event中的类
Emitted when a spawned subagent is exposed as a user-addressable entry point via agent_spawn(expose_to_user=true).
SubagentExposedEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.SubagentExposedEvent
 
SubagentExposedEvent(String, String, String, String, String, String) - 类的构造器 io.agentscope.core.event.SubagentExposedEvent
 
SubAgentProvider<T> - io.agentscope.core.tool.subagent中的接口
Factory interface for creating agent instances.
SubAgentTool - io.agentscope.core.tool.subagent中的类
AgentTool implementation that wraps a sub-agent for multi-turn conversation.
SubAgentTool(SubAgentProvider<?>, SubAgentConfig) - 类的构造器 io.agentscope.core.tool.subagent.SubAgentTool
Creates a new SubAgentTool.
subject(String) - 类中的方法 io.agentscope.core.state.Task.Builder
 
SUBMITTED - 枚举类 中的枚举常量 io.agentscope.core.message.ToolCallState
 
SUCCESS - 枚举类 中的枚举常量 io.agentscope.core.message.ToolResultState
 
suggestedRules(List<PermissionRule>) - 类中的方法 io.agentscope.core.permission.PermissionDecision.Builder
 
summary(String) - 类中的方法 io.agentscope.core.state.AgentState.Builder
 
SUMMARY - 枚举类 中的枚举常量 io.agentscope.core.agent.EventType
已过时。
Summary event - Generated when max iterations reached.
SUMMARY_CHUNK - 枚举类 中的枚举常量 io.agentscope.core.hook.HookEventType
已过时。
During summary streaming
SummaryChunkEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
SummaryChunkEvent(Agent, String, GenerateOptions, Msg, Msg) - 类的构造器 io.agentscope.core.hook.SummaryChunkEvent
已过时。
Constructor for SummaryChunkEvent.
SummaryEvent - io.agentscope.core.hook中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use MiddlewareBase instead.
SummaryEvent(HookEventType, Agent, String, GenerateOptions) - 类的构造器 io.agentscope.core.hook.SummaryEvent
已过时。
Constructor for SummaryEvent.
supportsNativeStructuredOutput() - 类中的方法 io.agentscope.core.model.DashScopeChatModel
 
supportsNativeStructuredOutput() - 接口中的方法 io.agentscope.core.model.Model
Whether this model supports native structured output (response_format with json_schema) alongside tool use.
supportsNativeStructuredOutput() - 类中的方法 io.agentscope.core.model.OpenAIChatModel
 
supportsStrict() - 类中的方法 io.agentscope.core.formatter.openai.DeepSeekFormatter
 
supportsStrict() - 类中的方法 io.agentscope.core.formatter.openai.DeepSeekMultiAgentFormatter
 
supportsStrict() - 类中的方法 io.agentscope.core.formatter.openai.GLMFormatter
 
supportsStrict() - 类中的方法 io.agentscope.core.formatter.openai.GLMMultiAgentFormatter
 
supportsStrict() - 类中的方法 io.agentscope.core.formatter.openai.OpenAIChatFormatter
Returns whether this formatter's target API supports the strict parameter in tool definitions.
suspended(ToolUseBlock) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
Creates a suspended tool result with default message.
suspended(ToolUseBlock, ToolSuspendException) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
Creates a suspended tool result from a ToolSuspendException.
syncElicitation(Function<McpSchema.ElicitRequest, McpSchema.ElicitResult>) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Registers a synchronous elicitation handler for processing elicit requests from the server.
syncToolGroupStates() - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Synchronize tool group states based on skill activation status with a specific toolkit.
sysPrompt(String) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Sets the system prompt for this agent.
SYSTEM - 枚举类 中的枚举常量 io.agentscope.core.interruption.InterruptSource
Interruption initiated by system (timeout, resource limit, etc.).
SYSTEM - 枚举类 中的枚举常量 io.agentscope.core.message.MsgRole
System role for system instructions, prompts, or configuration messages.
SystemMessage - io.agentscope.core.message中的类
A Msg with MsgRole.SYSTEM pinned at construction time.
SystemMessage(ContentBlock...) - 类的构造器 io.agentscope.core.message.SystemMessage
 
SystemMessage(String) - 类的构造器 io.agentscope.core.message.SystemMessage
 
SystemMessage(String, ContentBlock...) - 类的构造器 io.agentscope.core.message.SystemMessage
 
SystemMessage(String, String) - 类的构造器 io.agentscope.core.message.SystemMessage
 
SystemMessage(List<ContentBlock>) - 类的构造器 io.agentscope.core.message.SystemMessage
 
SystemMessage.Builder - io.agentscope.core.message中的类
Fluent builder for SystemMessage.

T

Task - io.agentscope.core.state中的类
Persistent agent task record carried inside TaskContextState.
Task.Builder - io.agentscope.core.state中的类
 
Task.State - io.agentscope.core.state中的枚举类
Allowed values for Task.state.
TaskContextState - io.agentscope.core.state中的类
Mutable bag of Tasks carried by AgentState.
TaskContextState() - 类的构造器 io.agentscope.core.state.TaskContextState
Construct an empty context.
TaskContextState(List<Task>) - 类的构造器 io.agentscope.core.state.TaskContextState
 
taskId(String) - 类中的方法 io.agentscope.core.agent.EventSource.Builder
已过时。
 
TaskReminderMiddleware - io.agentscope.core.middleware中的类
Keeps the agent's todo list in front of the model so long-running tasks don't drift.
TaskReminderMiddleware() - 类的构造器 io.agentscope.core.middleware.TaskReminderMiddleware
 
tasksContext(TaskContextState) - 类中的方法 io.agentscope.core.state.AgentState.Builder
 
tasksMutable() - 类中的方法 io.agentscope.core.state.TaskContextState
Live, mutable handle for tool implementations that need to append/remove tasks in place.
temperature(Double) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
temperature(Double) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
temperature(Double) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the temperature for text generation.
temperature(Double) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
TEMPERATURE - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
TERMINATED - 枚举类 中的枚举常量 io.agentscope.core.shutdown.ShutdownState
 
text() - 类中的静态方法 io.agentscope.core.formatter.ResponseFormat
Create a plain text response format.
text(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart.Builder
 
text(String) - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
Create a text content part.
text(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart.Builder
 
text(String) - 类中的静态方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
Create a text content part.
text(String) - 类中的方法 io.agentscope.core.message.TextBlock.Builder
Sets the text content for the block.
text(String) - 类中的静态方法 io.agentscope.core.message.ToolResultBlock
Create a simple text result (for tool method return values).
TEXT - 枚举类 中的枚举常量 io.agentscope.core.model.EndpointType
Force use of text generation API.
TEXT_BLOCK_DELTA - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
TEXT_BLOCK_END - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
TEXT_BLOCK_START - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
TEXT_GENERATION_ENDPOINT - 类中的静态变量 io.agentscope.core.model.DashScopeHttpClient
Text generation API endpoint.
TextBlock - io.agentscope.core.message中的类
Represents plain text content in a message.
TextBlock.Builder - io.agentscope.core.message中的类
Builder for constructing TextBlock instances.
TextBlockDeltaEvent - io.agentscope.core.event中的类
 
TextBlockDeltaEvent(String, String, String) - 类的构造器 io.agentscope.core.event.TextBlockDeltaEvent
 
TextBlockDeltaEvent(String, String, String, String, String) - 类的构造器 io.agentscope.core.event.TextBlockDeltaEvent
 
TextBlockEndEvent - io.agentscope.core.event中的类
 
TextBlockEndEvent(String, String) - 类的构造器 io.agentscope.core.event.TextBlockEndEvent
 
TextBlockEndEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.TextBlockEndEvent
 
TextBlockStartEvent - io.agentscope.core.event中的类
 
TextBlockStartEvent(String, String) - 类的构造器 io.agentscope.core.event.TextBlockStartEvent
 
TextBlockStartEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.TextBlockStartEvent
 
textContent(String) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
 
textContent(String) - 类中的方法 io.agentscope.core.message.Msg.Builder
Set text content from a string.
textContent(String) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
 
textContent(String) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
 
textContent(String) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
 
TFS_Z - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
tfsZ(Float) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
think(Object) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest.Builder
 
THINK - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
ThinkBoolean(boolean) - 记录类的构造器 io.agentscope.core.model.ollama.ThinkOption.ThinkBoolean
创建 ThinkBoolean 记录类的实例。
thinking(String) - 类中的方法 io.agentscope.core.message.ThinkingBlock.Builder
Sets the thinking content for the block.
THINKING_BLOCK_DELTA - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
THINKING_BLOCK_END - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
THINKING_BLOCK_START - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
ThinkingBlock - io.agentscope.core.message中的类
Represents reasoning or thinking content in a message.
ThinkingBlock.Builder - io.agentscope.core.message中的类
Builder for constructing ThinkingBlock instances.
ThinkingBlockDeltaEvent - io.agentscope.core.event中的类
 
ThinkingBlockDeltaEvent(String, String, String) - 类的构造器 io.agentscope.core.event.ThinkingBlockDeltaEvent
 
ThinkingBlockDeltaEvent(String, String, String, String, String) - 类的构造器 io.agentscope.core.event.ThinkingBlockDeltaEvent
 
ThinkingBlockEndEvent - io.agentscope.core.event中的类
 
ThinkingBlockEndEvent(String, String) - 类的构造器 io.agentscope.core.event.ThinkingBlockEndEvent
 
ThinkingBlockEndEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.ThinkingBlockEndEvent
 
ThinkingBlockStartEvent - io.agentscope.core.event中的类
 
ThinkingBlockStartEvent(String, String) - 类的构造器 io.agentscope.core.event.ThinkingBlockStartEvent
 
ThinkingBlockStartEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.ThinkingBlockStartEvent
 
thinkingBudget(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
thinkingBudget(Integer) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the thinking budget (maximum tokens for reasoning/thinking content).
ThinkLevel(String) - 记录类的构造器 io.agentscope.core.model.ollama.ThinkOption.ThinkLevel
Constructs a new ThinkLevel with validation.
thinkOption(ThinkOption) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
ThinkOption - io.agentscope.core.model.ollama中的接口
Defines the configuration contract for the "thinking" capability (Chain of Thought) in AgentScope's Ollama integration.
ThinkOption.ThinkBoolean - io.agentscope.core.model.ollama中的记录类
Implementation of ThinkOption representing a binary state (Enabled/Disabled).
ThinkOption.ThinkLevel - io.agentscope.core.model.ollama中的记录类
Implementation of ThinkOption representing a specific level of reasoning effort.
ThinkOption.ThinkOptionDeserializer - io.agentscope.core.model.ollama中的类
Custom deserializer implementation for ThinkOption.
ThinkOption.ThinkOptionSerializer - io.agentscope.core.model.ollama中的类
Custom serializer implementation for ThinkOption.
ThinkOptionDeserializer() - 类的构造器 io.agentscope.core.model.ollama.ThinkOption.ThinkOptionDeserializer
 
ThinkOptionSerializer() - 类的构造器 io.agentscope.core.model.ollama.ThinkOption.ThinkOptionSerializer
 
thoughtSignature(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall.Builder
 
throwable() - 记录类中的方法 io.agentscope.core.exception.CompositeAgentException.AgentExceptionInfo
返回 throwable 记录组件的值。
time(double) - 类中的方法 io.agentscope.core.model.ChatUsage.Builder
Sets the execution time.
timeout(Duration) - 类中的方法 io.agentscope.core.model.ExecutionConfig.Builder
Sets the timeout duration for a single execution.
timeout(Duration) - 类中的方法 io.agentscope.core.tool.mcp.McpClientBuilder
Sets the request timeout duration.
timestamp - 类中的变量 io.agentscope.core.message.Msg.Builder
 
timestamp(String) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
 
timestamp(String) - 类中的方法 io.agentscope.core.message.Msg.Builder
Sets the timestamp for the message.
timestamp(String) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
 
timestamp(String) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
 
timestamp(String) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
 
timestamp(Instant) - 类中的方法 io.agentscope.core.interruption.InterruptContext.Builder
Set the timestamp of the interruption.
toBuilder() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
 
toBuilder() - 类中的方法 io.agentscope.core.skill.AgentSkill
已过时。
Creates a builder initialized with this skill's values.
toContext() - 类中的方法 io.agentscope.core.interruption.InterruptControl
Build an InterruptContext snapshot of the current signal.
TodoItem(String, String, String) - 类的构造器 io.agentscope.core.tool.builtin.TodoTools.TodoItem
 
TodoTools - io.agentscope.core.tool.builtin中的类
Built-in task-list tool that lets the agent maintain a structured todo list for the current session, mirroring opencode's todowrite.
TodoTools() - 类的构造器 io.agentscope.core.tool.builtin.TodoTools
 
TodoTools.TodoItem - io.agentscope.core.tool.builtin中的类
A single todo item as supplied by the model.
todoWrite(List<TodoTools.TodoItem>, AgentState) - 类中的方法 io.agentscope.core.tool.builtin.TodoTools
Replaces the session task list with todos.
toFileProtocolUrl(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Convert a local file path to file:// protocol URL.
toGenerateOptions() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
Converts this OllamaOptions to generic GenerateOptions.
toJavaProxy() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
Convert this configuration to a Proxy instance.
toJdkHttpVersion() - 枚举类中的方法 io.agentscope.core.model.transport.HttpVersion
 
toJson() - 类中的方法 io.agentscope.core.state.AgentState
Serialize this state to a pretty-printed JSON string.
toJson(Object) - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
 
toJson(Object) - 接口中的方法 io.agentscope.core.util.JsonCodec
Serialize an object to JSON string.
toJsonValue() - 记录类中的方法 io.agentscope.core.model.ollama.ThinkOption.ThinkBoolean
 
toJsonValue() - 记录类中的方法 io.agentscope.core.model.ollama.ThinkOption.ThinkLevel
 
toJsonValue() - 接口中的方法 io.agentscope.core.model.ollama.ThinkOption
Transforms the current option into a format compatible with the Ollama JSON API.
toMap() - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions
Serializes the OllamaOptions into a Map representation.
tool(Object) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
已过时。
Set the tool object to register (scans for @Tool methods).
tool(Object) - 类中的方法 io.agentscope.core.tool.Toolkit.ToolRegistration
Set the tool object to register (scans for @Tool methods).
Tool - io.agentscope.core.tool中的批注接口
Annotation to mark a method as a tool that can be invoked by AI agents.
TOOL - 枚举类 中的枚举常量 io.agentscope.core.interruption.InterruptSource
Interruption initiated by tool execution logic.
TOOL - 枚举类 中的枚举常量 io.agentscope.core.message.MsgRole
Tool role for messages containing tool execution results or responses.
TOOL_CALL_DELTA - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
TOOL_CALL_END - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
TOOL_CALL_START - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
TOOL_CALLS - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
Model returned tool calls (internal tools, framework will continue execution).
TOOL_CHOICE - 枚举类 中的枚举常量 io.agentscope.core.model.StructuredOutputReminder
Use tool_choice API parameter to force the tool call when the model doesn't call it voluntarily.
TOOL_DEFAULTS - 类中的静态变量 io.agentscope.core.model.ExecutionConfig
Standard defaults for tool executions.
TOOL_RESULT - 枚举类 中的枚举常量 io.agentscope.core.agent.EventType
已过时。
Tool execution result event.
TOOL_RESULT_DATA_DELTA - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
TOOL_RESULT_END - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
TOOL_RESULT_START - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
TOOL_RESULT_TEXT_DELTA - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
TOOL_SUSPENDED - 枚举类 中的枚举常量 io.agentscope.core.message.GenerateReason
Tool execution was suspended, waiting for user to provide results.
ToolBase - io.agentscope.core.tool中的类
Abstract base class for tools that participate in permission evaluation and ReAct execution.
ToolBase(ToolBase.Builder) - 类的构造器 io.agentscope.core.tool.ToolBase
Builder-based constructor (preferred).
ToolBase(String, String, Map<String, Object>, boolean, boolean, boolean, String, boolean, boolean) - 类的构造器 io.agentscope.core.tool.ToolBase
Positional constructor used by built-in tools and any subclass that prefers explicit arguments over ToolBase.builder().
ToolBase.Builder - io.agentscope.core.tool中的类
Fluent builder for ToolBase subclasses.
ToolCallDeltaEvent - io.agentscope.core.event中的类
Emitted as tool call input arguments are streamed incrementally.
ToolCallDeltaEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.ToolCallDeltaEvent
 
ToolCallDeltaEvent(String, String, String, String, String, String) - 类的构造器 io.agentscope.core.event.ToolCallDeltaEvent
 
ToolCallEndEvent - io.agentscope.core.event中的类
 
ToolCallEndEvent(String, String, String) - 类的构造器 io.agentscope.core.event.ToolCallEndEvent
 
ToolCallEndEvent(String, String, String, String, String) - 类的构造器 io.agentscope.core.event.ToolCallEndEvent
 
toolCallId(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage.Builder
 
toolCallId(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage.Builder
 
ToolCallParam - io.agentscope.core.tool中的类
Parameters for tool invocation.
ToolCallParam.Builder - io.agentscope.core.tool中的类
Builder for ToolCallParam.
toolCalls() - 记录类中的方法 io.agentscope.core.middleware.ActingInput
返回 toolCalls 记录组件的值。
toolCalls(List<DashScopeToolCall>) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeMessage.Builder
 
toolCalls(List<OpenAIToolCall>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIMessage.Builder
 
ToolCallStartEvent - io.agentscope.core.event中的类
 
ToolCallStartEvent(String, String, String) - 类的构造器 io.agentscope.core.event.ToolCallStartEvent
 
ToolCallStartEvent(String, String, String, String, String) - 类的构造器 io.agentscope.core.event.ToolCallStartEvent
 
ToolCallState - io.agentscope.core.message中的枚举类
 
toolChoice(ToolChoice) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the tool choice configuration for controlling how the model uses tools.
toolChoice(Object) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
toolChoice(Object) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest.Builder
 
toolChoice(Object) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
ToolChoice - io.agentscope.core.model中的接口
Represents the tool choice behavior for LLM model calls.
ToolChoice.Auto - io.agentscope.core.model中的记录类
Auto mode: Let the model decide whether and which tools to call.
ToolChoice.None - io.agentscope.core.model中的记录类
None mode: Prevent the model from calling any tools.
ToolChoice.Required - io.agentscope.core.model中的记录类
Required mode: Force the model to call at least one tool.
ToolChoice.Specific - io.agentscope.core.model中的记录类
Specific mode: Force the model to call a specific tool by name.
toolContext(ToolContextState) - 类中的方法 io.agentscope.core.state.AgentState.Builder
 
ToolContextState - io.agentscope.core.state中的类
Read-cache backing for file-touching tools (Read / Write / Edit).
ToolContextState.Builder - io.agentscope.core.state中的类
 
ToolDangerousPathConstants - io.agentscope.core.tool中的类
Defaults for the dangerous-path and dangerous-command lists consulted by tool self-checks.
ToolEmitter - io.agentscope.core.tool中的接口
Interface for emitting streaming responses during tool execution.
toolExecutionConfig(ExecutionConfig) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Sets the execution configuration for tool executions.
toolExecutionContext(ToolExecutionContext) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
Nests a ToolExecutionContext (e.g. agent builder-level tool DI) that will be visible at lower priority than runtime attributes in RuntimeContext.asToolExecutionContext().
toolExecutionContext(ToolExecutionContext) - 类中的方法 io.agentscope.core.ReActAgent.Builder
已过时。
Use RuntimeContext with agent.call(msg, runtimeContext) or register POJOs directly via RuntimeContext.builder().put(Type, value).
ToolExecutionContext - io.agentscope.core.tool中的类
已过时。
Use RuntimeContext instead. Register POJOs via RuntimeContext.builder().put(Type.class, value).build() and pass to agent.call(msg, runtimeContext).
ToolExecutionContext.Builder - io.agentscope.core.tool中的类
已过时。
Builder for ToolExecutionContext.
ToolExecutionContextProvider - io.agentscope.core.tool中的接口
已过时。
Part of the ToolExecutionContext layer which is superseded by RuntimeContext.
ToolGroup - io.agentscope.core.tool中的类
Represents a named group of tools with activation state.
ToolGroup(String, String, boolean, ToolGroupScope, Set<String>) - 类的构造器 io.agentscope.core.tool.ToolGroup
Protected constructor for subclass use.
ToolGroup.Builder - io.agentscope.core.tool中的类
Builder for constructing ToolGroup instances.
ToolGroupScope - io.agentscope.core.tool中的枚举类
Defines who manages a ToolGroup's activation lifecycle.
toolkit(Toolkit) - 类中的方法 io.agentscope.core.ReActAgent.Builder
Sets the toolkit containing available tools for this agent.
toolkit(Toolkit) - 类中的方法 io.agentscope.core.skill.SkillBox.SkillRegistration
已过时。
 
Toolkit - io.agentscope.core.tool中的类
Toolkit manages the registration, retrieval, and execution of agent tools.
Toolkit() - 类的构造器 io.agentscope.core.tool.Toolkit
Create a Toolkit with default configuration (sequential execution using Reactor).
Toolkit(ToolkitConfig) - 类的构造器 io.agentscope.core.tool.Toolkit
Create a Toolkit with custom configuration.
Toolkit.ToolRegistration - io.agentscope.core.tool中的类
Fluent builder for registering tools with optional configuration.
ToolkitConfig - io.agentscope.core.tool中的类
Configuration for Toolkit execution behavior.
ToolkitConfig.Builder - io.agentscope.core.tool中的类
Builder for ToolkitConfig.
ToolkitState - io.agentscope.core.state.legacy中的记录类
Deserialization shape for the v1 toolkit_activeGroups session entry.
ToolkitState(List<String>) - 记录类的构造器 io.agentscope.core.state.legacy.ToolkitState
创建 ToolkitState 记录类的实例。
toolName() - 记录类中的方法 io.agentscope.core.model.ToolChoice.Specific
返回 toolName 记录组件的值。
toolName() - 记录类中的方法 io.agentscope.core.permission.PermissionRule
返回 toolName 记录组件的值。
toolName(String) - 类中的方法 io.agentscope.core.tool.subagent.SubAgentConfig.Builder
Sets the tool name.
ToolParam - io.agentscope.core.tool中的批注接口
Annotation to describe parameters of a tool method.
ToolResultBlock - io.agentscope.core.message中的类
Represents the result of a tool execution.
ToolResultBlock(String, String, ContentBlock) - 类的构造器 io.agentscope.core.message.ToolResultBlock
Creates a tool result block with a single content block output.
ToolResultBlock(String, String, List<ContentBlock>) - 类的构造器 io.agentscope.core.message.ToolResultBlock
Creates a tool result block with a list of content blocks as output.
ToolResultBlock(String, String, List<ContentBlock>, Map<String, Object>) - 类的构造器 io.agentscope.core.message.ToolResultBlock
 
ToolResultBlock(String, String, List<ContentBlock>, Map<String, Object>, ToolResultState) - 类的构造器 io.agentscope.core.message.ToolResultBlock
 
ToolResultBlock.Builder - io.agentscope.core.message中的类
Builder for constructing ToolResultBlock instances.
ToolResultConverter - io.agentscope.core.tool中的接口
Converts tool method return values to ToolResultBlock.
ToolResultDataDeltaEvent - io.agentscope.core.event中的类
 
ToolResultDataDeltaEvent(String, String, String, ContentBlock) - 类的构造器 io.agentscope.core.event.ToolResultDataDeltaEvent
 
ToolResultDataDeltaEvent(String, String, String, String, String, ContentBlock) - 类的构造器 io.agentscope.core.event.ToolResultDataDeltaEvent
 
ToolResultEndEvent - io.agentscope.core.event中的类
 
ToolResultEndEvent(String, String, String, ToolResultState) - 类的构造器 io.agentscope.core.event.ToolResultEndEvent
 
ToolResultEndEvent(String, String, String, String, String, ToolResultState) - 类的构造器 io.agentscope.core.event.ToolResultEndEvent
 
ToolResultMessage - io.agentscope.core.message中的类
A Msg with MsgRole.TOOL pinned at construction time.
ToolResultMessage(ToolResultBlock...) - 类的构造器 io.agentscope.core.message.ToolResultMessage
 
ToolResultMessage(String, String, String) - 类的构造器 io.agentscope.core.message.ToolResultMessage
 
ToolResultMessage(List<ToolResultBlock>) - 类的构造器 io.agentscope.core.message.ToolResultMessage
 
ToolResultMessage.Builder - io.agentscope.core.message中的类
Fluent builder for ToolResultMessage.
ToolResultStartEvent - io.agentscope.core.event中的类
 
ToolResultStartEvent(String, String, String) - 类的构造器 io.agentscope.core.event.ToolResultStartEvent
 
ToolResultStartEvent(String, String, String, String, String) - 类的构造器 io.agentscope.core.event.ToolResultStartEvent
 
ToolResultState - io.agentscope.core.message中的枚举类
 
ToolResultTextDeltaEvent - io.agentscope.core.event中的类
 
ToolResultTextDeltaEvent(String, String, String, String) - 类的构造器 io.agentscope.core.event.ToolResultTextDeltaEvent
 
ToolResultTextDeltaEvent(String, String, String, String, String, String) - 类的构造器 io.agentscope.core.event.ToolResultTextDeltaEvent
 
tools() - 接口中的方法 io.agentscope.core.hook.Hook
已过时。
Optional tools installed together with this hook.
tools() - 记录类中的方法 io.agentscope.core.middleware.ModelCallInput
返回 tools 记录组件的值。
tools() - 记录类中的方法 io.agentscope.core.middleware.ReasoningInput
返回 tools 记录组件的值。
tools(List<DashScopeTool>) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
tools(List<OllamaTool>) - 类中的方法 io.agentscope.core.formatter.ollama.dto.OllamaRequest.Builder
 
tools(List<OpenAITool>) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
tools(Set<String>) - 类中的方法 io.agentscope.core.tool.SkillToolGroup.Builder
Sets the initial set of tools in this group.
tools(Set<String>) - 类中的方法 io.agentscope.core.tool.ToolGroup.Builder
Sets the initial set of tools in this group.
ToolSchema - io.agentscope.core.model中的类
Immutable tool schema definition.
ToolSchema.Builder - io.agentscope.core.model中的类
Builder for creating ToolSchema instances.
ToolSchemaModule - io.agentscope.core.tool中的类
A victools JSON Schema Module that reads ToolParam annotations to populate "description" and "required" in the generated schema.
ToolSchemaModule(ToolSchemaModule.Option...) - 类的构造器 io.agentscope.core.tool.ToolSchemaModule
Creates a module with the given options.
ToolSchemaModule.Option - io.agentscope.core.tool中的枚举类
Options for customizing module behavior.
ToolSuspendException - io.agentscope.core.tool中的异常错误类
Exception thrown to signal that a tool execution should be suspended and handled externally.
ToolSuspendException() - 异常错误类的构造器 io.agentscope.core.tool.ToolSuspendException
Creates a new ToolSuspendException with default message.
ToolSuspendException(String) - 异常错误类的构造器 io.agentscope.core.tool.ToolSuspendException
Creates a new ToolSuspendException with a custom reason.
toolUse - 类中的变量 io.agentscope.core.hook.ActingEvent
已过时。
 
toolUseBlock(ToolUseBlock) - 类中的方法 io.agentscope.core.tool.ToolCallParam.Builder
Sets the tool use block.
ToolUseBlock - io.agentscope.core.message中的类
Represents a tool use request within a message.
ToolUseBlock(String, String, Map<String, Object>) - 类的构造器 io.agentscope.core.message.ToolUseBlock
Creates a new tool use block without metadata (convenience constructor).
ToolUseBlock(String, String, Map<String, Object>, String, Map<String, Object>) - 类的构造器 io.agentscope.core.message.ToolUseBlock
Creates a new tool use block with raw content for streaming.
ToolUseBlock(String, String, Map<String, Object>, String, Map<String, Object>, ToolCallState) - 类的构造器 io.agentscope.core.message.ToolUseBlock
Creates a new tool use block with all fields.
ToolUseBlock(String, String, Map<String, Object>, Map<String, Object>) - 类的构造器 io.agentscope.core.message.ToolUseBlock
Creates a new tool use block for JSON deserialization.
ToolUseBlock.Builder - io.agentscope.core.message中的类
Builder for constructing ToolUseBlock instances.
ToolValidator - io.agentscope.core.tool中的类
Unified validator for tool-related operations.
TOP_K - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
TOP_P - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
topK(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
topK(Integer) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the top-k sampling parameter.
topK(Integer) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
topLogprobs(Integer) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
topP(Double) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeParameters.Builder
 
topP(Double) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
topP(Double) - 类中的方法 io.agentscope.core.model.GenerateOptions.Builder
Sets the top-p (nucleus sampling) parameter.
topP(Double) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
toPrettyJson(Object) - 类中的方法 io.agentscope.core.util.JacksonJsonCodec
 
toPrettyJson(Object) - 接口中的方法 io.agentscope.core.util.JsonCodec
Serialize an object to pretty-printed JSON string.
toString() - 类中的方法 io.agentscope.core.agent.AgentBase
 
toString() - 记录类中的方法 io.agentscope.core.agent.config.ModelConfig
返回此记录类的字符串表示形式。
toString() - 记录类中的方法 io.agentscope.core.agent.config.ReactConfig
返回此记录类的字符串表示形式。
toString() - 类中的方法 io.agentscope.core.agent.Event
已过时。
 
toString() - 类中的方法 io.agentscope.core.agent.EventSource
已过时。
 
toString() - 类中的方法 io.agentscope.core.credential.AnthropicCredential
 
toString() - 类中的方法 io.agentscope.core.credential.DashScopeCredential
 
toString() - 类中的方法 io.agentscope.core.credential.DeepSeekCredential
 
toString() - 类中的方法 io.agentscope.core.credential.GeminiCredential
 
toString() - 类中的方法 io.agentscope.core.credential.KimiCredential
 
toString() - 记录类中的方法 io.agentscope.core.credential.ModelCard
返回此记录类的字符串表示形式。
toString() - 类中的方法 io.agentscope.core.credential.OllamaCredential
 
toString() - 类中的方法 io.agentscope.core.credential.OpenAICredential
 
toString() - 类中的方法 io.agentscope.core.credential.XAICredential
 
toString() - 类中的方法 io.agentscope.core.event.AgentEvent
 
toString() - 记录类中的方法 io.agentscope.core.exception.CompositeAgentException.AgentExceptionInfo
返回此记录类的字符串表示形式。
toString() - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIError
 
toString() - 类中的方法 io.agentscope.core.interruption.InterruptContext
Returns a string representation of the interrupt context.
toString() - 类中的方法 io.agentscope.core.message.TextBlock
 
toString() - 记录类中的方法 io.agentscope.core.middleware.ActingInput
返回此记录类的字符串表示形式。
toString() - 记录类中的方法 io.agentscope.core.middleware.AgentInput
返回此记录类的字符串表示形式。
toString() - 记录类中的方法 io.agentscope.core.middleware.ModelCallInput
返回此记录类的字符串表示形式。
toString() - 记录类中的方法 io.agentscope.core.middleware.ReasoningInput
返回此记录类的字符串表示形式。
toString() - 记录类中的方法 io.agentscope.core.model.DashScopeHttpClient.PublicKeyResult
返回此记录类的字符串表示形式。
toString() - 异常错误类中的方法 io.agentscope.core.model.ModelException
 
toString() - 记录类中的方法 io.agentscope.core.model.ollama.ThinkOption.ThinkBoolean
返回此记录类的字符串表示形式。
toString() - 记录类中的方法 io.agentscope.core.model.ollama.ThinkOption.ThinkLevel
返回此记录类的字符串表示形式。
toString() - 记录类中的方法 io.agentscope.core.model.ToolChoice.Auto
返回此记录类的字符串表示形式。
toString() - 记录类中的方法 io.agentscope.core.model.ToolChoice.None
返回此记录类的字符串表示形式。
toString() - 记录类中的方法 io.agentscope.core.model.ToolChoice.Required
返回此记录类的字符串表示形式。
toString() - 记录类中的方法 io.agentscope.core.model.ToolChoice.Specific
返回此记录类的字符串表示形式。
toString() - 异常错误类中的方法 io.agentscope.core.model.transport.HttpTransportException
Get the formatted error message with all available details.
toString() - 类中的方法 io.agentscope.core.model.transport.ProxyConfig
 
toString() - 记录类中的方法 io.agentscope.core.model.transport.websocket.CloseInfo
返回此记录类的字符串表示形式。
toString() - 记录类中的方法 io.agentscope.core.permission.AdditionalWorkingDirectory
返回此记录类的字符串表示形式。
toString() - 类中的方法 io.agentscope.core.permission.PermissionContextState
 
toString() - 类中的方法 io.agentscope.core.permission.PermissionDecision
 
toString() - 记录类中的方法 io.agentscope.core.permission.PermissionRule
返回此记录类的字符串表示形式。
toString() - 类中的方法 io.agentscope.core.rag.model.Document
已过时。
 
toString() - 记录类中的方法 io.agentscope.core.shutdown.GracefulShutdownConfig
返回此记录类的字符串表示形式。
toString() - 记录类中的方法 io.agentscope.core.shutdown.ShutdownSessionBinding
已过时。
返回此记录类的字符串表示形式。
toString() - 类中的方法 io.agentscope.core.skill.AgentSkill
已过时。
Returns a string representation of this skill.
toString() - 类中的方法 io.agentscope.core.skill.repository.AgentSkillRepositoryInfo
Returns a string representation of this repository info.
toString() - 类中的方法 io.agentscope.core.skill.util.MarkdownSkillParser.ParsedMarkdown
已过时。
 
toString() - 类中的方法 io.agentscope.core.state.AgentState
 
toString() - 记录类中的方法 io.agentscope.core.state.legacy.ToolkitState
返回此记录类的字符串表示形式。
toString() - 类中的方法 io.agentscope.core.state.PlanModeContextState
 
toString() - 记录类中的方法 io.agentscope.core.state.ReadCacheEntry
返回此记录类的字符串表示形式。
toString() - 类中的方法 io.agentscope.core.state.SessionInfo
Returns a string representation of the session information.
toString() - 类中的方法 io.agentscope.core.state.Task
 
toString() - 类中的方法 io.agentscope.core.state.TaskContextState
 
toString() - 记录类中的方法 io.agentscope.core.tool.mcp.McpMeta
返回此记录类的字符串表示形式。
toString() - 类中的方法 io.agentscope.core.tool.ToolExecutionContext
已过时。
 
totalPixels(Integer) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart.Builder
 
totalPixels(Integer) - 类中的方法 io.agentscope.core.message.VideoBlock.Builder
Sets the total pixels of all frames extracted from the video (single image pixels × total frames).
Tracer - io.agentscope.core.tracing中的接口
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use OtelTracingMiddleware instead.
TracerRegistry - io.agentscope.core.tracing中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
since 2.0.0. Use OtelTracingMiddleware instead.
TracerRegistry() - 类的构造器 io.agentscope.core.tracing.TracerRegistry
已过时。
 
transport(HttpTransport) - 类中的方法 io.agentscope.core.model.DashScopeHttpClient.Builder
Set the HTTP transport.
transport(HttpTransport) - 类中的方法 io.agentscope.core.model.OllamaHttpClient.Builder
 
TransportConstants - io.agentscope.core.model.transport中的类
Constants for HTTP transport layer.
trigger(InterruptSource, Msg) - 类中的方法 io.agentscope.core.interruption.InterruptControl
Raise the interrupt signal.
truncate(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
TRUNCATE - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
TURBO - 枚举类 中的枚举常量 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.SearchStrategy
Taking into account both responsiveness and search effect, it is suitable for most scenarios.
type(ProxyType) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig.Builder
Set the proxy type.
type(String) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeToolCall.Builder
 
type(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart.Builder
 
type(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIToolCall.Builder
 
type(String) - 类中的方法 io.agentscope.core.formatter.ResponseFormat.Builder
 
TYPE - 类中的静态变量 io.agentscope.core.credential.AnthropicCredential
 
TYPE - 类中的静态变量 io.agentscope.core.credential.DashScopeCredential
 
TYPE - 类中的静态变量 io.agentscope.core.credential.DeepSeekCredential
 
TYPE - 类中的静态变量 io.agentscope.core.credential.GeminiCredential
 
TYPE - 类中的静态变量 io.agentscope.core.credential.KimiCredential
 
TYPE - 类中的静态变量 io.agentscope.core.credential.OllamaCredential
 
TYPE - 类中的静态变量 io.agentscope.core.credential.OpenAICredential
 
TYPE - 类中的静态变量 io.agentscope.core.credential.XAICredential
 
TypeUtils - io.agentscope.core.util中的类
Utility class for type-safe operations.
TYPICAL_P - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
typicalP(Float) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 

U

unbindRuntimeContextFromHooks() - 类中的方法 io.agentscope.core.agent.AgentBase
Clears the RuntimeContext previously pushed to all RuntimeContextAware hooks.
UnixCommandValidator - io.agentscope.core.tool.coding中的类
Command validator for Unix-like systems (Linux, macOS).
UnixCommandValidator() - 类的构造器 io.agentscope.core.tool.coding.UnixCommandValidator
 
UnprocessableEntityException - io.agentscope.core.model.exception中的异常错误类
Exception thrown when the request is well-formed but semantically incorrect (HTTP 422).
UnprocessableEntityException(String, String, String) - 异常错误类的构造器 io.agentscope.core.model.exception.UnprocessableEntityException
 
unregister(HttpTransport) - 类中的静态方法 io.agentscope.core.model.transport.HttpTransportFactory
Unregister an HttpTransport from lifecycle management.
unregisterRequest(String) - 类中的方法 io.agentscope.core.shutdown.GracefulShutdownManager
 
updatedAt() - 记录类中的方法 io.agentscope.core.state.ReadCacheEntry
返回 updatedAt 记录组件的值。
updatedInput(Map<String, Object>) - 类中的方法 io.agentscope.core.permission.PermissionDecision.Builder
 
updateToolGroups(List<String>, boolean) - 类中的方法 io.agentscope.core.tool.Toolkit
Update the activation status of tool groups.
updateToolPresetParameters(String, Map<String, Object>) - 类中的方法 io.agentscope.core.tool.Toolkit
Update preset parameters for a registered tool at runtime.
uploadSkillFiles() - 类中的方法 io.agentscope.core.skill.SkillBox
已过时。
Uploads skill files to the upload directory with the configured filter.
url(String) - 类中的方法 io.agentscope.core.message.URLSource.Builder
Sets the URL for the media content.
url(String) - 类中的方法 io.agentscope.core.model.transport.HttpRequest.Builder
Set the request URL.
URLSource - io.agentscope.core.message中的类
Represents URL-based media content.
URLSource(String) - 类的构造器 io.agentscope.core.message.URLSource
Creates a new URL source for JSON deserialization.
URLSource.Builder - io.agentscope.core.message中的类
Builder for constructing URLSource instances.
urlToBase64DataUrl(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Convert a file or web URL to a data URL with base64 encoding.
urlToInputStream(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Convert a file or web URL to an InputStream.
urlToProtocolUrl(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Convert a URL to a file:// protocol URL or leave as-is for web URLs.
urlToRgbaImageInputStream(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Convert a file or web URL to an InputStream with RGBA image.
usage - 类中的变量 io.agentscope.core.message.Msg.Builder
 
usage(ChatUsage) - 类中的方法 io.agentscope.core.message.AssistantMessage.Builder
 
usage(ChatUsage) - 类中的方法 io.agentscope.core.message.Msg.Builder
Sets the token usage information for this message.
usage(ChatUsage) - 类中的方法 io.agentscope.core.message.SystemMessage.Builder
 
usage(ChatUsage) - 类中的方法 io.agentscope.core.message.ToolResultMessage.Builder
 
usage(ChatUsage) - 类中的方法 io.agentscope.core.message.UserMessage.Builder
 
usage(ChatUsage) - 类中的方法 io.agentscope.core.model.ChatResponse.Builder
Sets the usage information for the response.
USE_MLOCK - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
USE_MMAP - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
useMLock(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
useMMap(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
useNUMA(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 
user(String) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIRequest.Builder
 
USER - 枚举类 中的枚举常量 io.agentscope.core.interruption.InterruptSource
Interruption initiated by user request.
USER - 枚举类 中的枚举常量 io.agentscope.core.message.MsgRole
User role for messages from human users or external inputs.
USER_CONFIRM_RESULT - 枚举类 中的枚举常量 io.agentscope.core.event.AgentEventType
 
UserAgent - io.agentscope.core.agent.user中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
UserAgent.Builder - io.agentscope.core.agent.user中的类
已过时。
Builder for UserAgent.
UserConfirmResultEvent - io.agentscope.core.event中的类
Emitted after the user has responded to a RequireUserConfirmEvent.
UserConfirmResultEvent(String, String, String, List<ConfirmResult>) - 类的构造器 io.agentscope.core.event.UserConfirmResultEvent
 
UserConfirmResultEvent(String, List<ConfirmResult>) - 类的构造器 io.agentscope.core.event.UserConfirmResultEvent
 
userId() - 记录类中的方法 io.agentscope.core.shutdown.ShutdownSessionBinding
已过时。
返回 userId 记录组件的值。
userId(String) - 类中的方法 io.agentscope.core.agent.RuntimeContext.Builder
 
userId(String) - 类中的方法 io.agentscope.core.state.AgentState.Builder
Nullable; null = anonymous / single-tenant context.
UserInputBase - io.agentscope.core.agent.user中的接口
已过时, 待删除: 此 API 元素将从以后的版本中删除。
UserInputData - io.agentscope.core.agent.user中的类
已过时, 待删除: 此 API 元素将从以后的版本中删除。
UserInputData(List<ContentBlock>, Map<String, Object>) - 类的构造器 io.agentscope.core.agent.user.UserInputData
已过时。
Creates a new UserInputData instance.
userMessage(Msg) - 类中的方法 io.agentscope.core.interruption.InterruptContext.Builder
Set the user message that triggered the interruption.
UserMessage - io.agentscope.core.message中的类
A Msg with MsgRole.USER pinned at construction time.
UserMessage(ContentBlock...) - 类的构造器 io.agentscope.core.message.UserMessage
 
UserMessage(String) - 类的构造器 io.agentscope.core.message.UserMessage
 
UserMessage(String, ContentBlock...) - 类的构造器 io.agentscope.core.message.UserMessage
 
UserMessage(String, String) - 类的构造器 io.agentscope.core.message.UserMessage
 
UserMessage(List<ContentBlock>) - 类的构造器 io.agentscope.core.message.UserMessage
 
UserMessage.Builder - io.agentscope.core.message中的类
Fluent builder for UserMessage.
username(String) - 类中的方法 io.agentscope.core.model.transport.ProxyConfig.Builder
Set the authentication username.

V

validate(String, Set<String>) - 接口中的方法 io.agentscope.core.tool.coding.CommandValidator
Validate if a command is allowed to execute.
validate(String, Set<String>) - 类中的方法 io.agentscope.core.tool.coding.UnixCommandValidator
 
validate(String, Set<String>) - 类中的方法 io.agentscope.core.tool.coding.WindowsCommandValidator
 
validateAndResolvePath(Path, String) - 类中的静态方法 io.agentscope.core.skill.util.SkillFileSystemHelper
已过时。
Validates that a resolved path is within the base directory.
validateAudioExtension(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Validate that an audio file has a supported extension.
validateImageExtension(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Validate that an image file has a supported extension.
validateInput(String, Map<String, Object>) - 类中的静态方法 io.agentscope.core.tool.ToolValidator
Validate tool input parameters against a JSON Schema using networknt-schema.
validateToolResultMatch(Msg, List<Msg>) - 类中的静态方法 io.agentscope.core.tool.ToolValidator
Validate that ToolResult messages match pending ToolUse blocks.
validateVideoExtension(String) - 类中的静态方法 io.agentscope.core.formatter.MediaUtils
Validate that a video file has a supported extension.
ValidationResult(boolean, String, String) - 类的构造器 io.agentscope.core.tool.coding.CommandValidator.ValidationResult
 
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.agent.EventType
已过时。
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.event.AgentEventType
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.SearchStrategy
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.hook.HookEventType
已过时。
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.interruption.InterruptSource
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.memory.LongTermMemoryMode
已过时。
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.message.GenerateReason
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.message.MsgRole
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.message.ToolCallState
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.message.ToolResultState
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.model.EndpointType
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.model.StructuredOutputReminder
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.model.transport.HttpVersion
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.model.transport.ProxyType
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.permission.PermissionBehavior
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.permission.PermissionMode
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.rag.RAGMode
已过时。
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.shutdown.PartialReasoningPolicy
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.shutdown.ShutdownState
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.state.Task.State
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.tool.ToolGroupScope
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 io.agentscope.core.tool.ToolSchemaModule.Option
返回带有指定名称的该类的枚举常量。
values() - 枚举类中的静态方法 io.agentscope.core.agent.EventType
已过时。
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.event.AgentEventType
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeSearchOptions.SearchStrategy
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.hook.HookEventType
已过时。
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.interruption.InterruptSource
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.memory.LongTermMemoryMode
已过时。
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.message.GenerateReason
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.message.MsgRole
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.message.ToolCallState
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.message.ToolResultState
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.model.EndpointType
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.model.StructuredOutputReminder
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.model.transport.HttpVersion
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.model.transport.ProxyType
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.permission.PermissionBehavior
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.permission.PermissionMode
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.rag.RAGMode
已过时。
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.shutdown.PartialReasoningPolicy
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.shutdown.ShutdownState
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.state.Task.State
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.tool.ToolGroupScope
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 io.agentscope.core.tool.ToolSchemaModule.Option
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
vectorName(String) - 类中的方法 io.agentscope.core.rag.model.RetrieveConfig.Builder
已过时。
Sets the vector name for retrieval.
Version - io.agentscope.core中的类
AgentScope version and User-Agent information.
VERSION - 类中的静态变量 io.agentscope.core.Version
AgentScope Java version
vertexAI(boolean) - 类中的方法 io.agentscope.core.model.GeminiChatModel.Builder
Sets whether to use Vertex AI APIs.
video(Object) - 类中的方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart.Builder
 
video(String) - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
Create a video content part from URL.
VideoBlock - io.agentscope.core.message中的类
Represents video content in a message.
VideoBlock(Source) - 类的构造器 io.agentscope.core.message.VideoBlock
Creates a new video block with source.
VideoBlock.Builder - io.agentscope.core.message中的类
Builder for constructing VideoBlock instances.
videoFrames(List<String>) - 类中的静态方法 io.agentscope.core.formatter.dashscope.dto.DashScopeContentPart
Create a video content part from frame list.
videoUrl(OpenAIVideoUrl) - 类中的方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart.Builder
 
videoUrl(String) - 类中的静态方法 io.agentscope.core.formatter.openai.dto.OpenAIContentPart
Create a video content part.
viewTextFile(String, String) - 类中的方法 io.agentscope.core.tool.file.ReadFileTool
View the file content in the specified range with line numbers.
VOCAB_ONLY - 枚举类 中的枚举常量 io.agentscope.core.model.ollama.OllamaOptions.ParamKey
 
vocabOnly(Boolean) - 类中的方法 io.agentscope.core.model.ollama.OllamaOptions.Builder
 

W

WebSocketConnection<T> - io.agentscope.core.model.transport.websocket中的接口
WebSocket connection interface.
WebSocketRequest - io.agentscope.core.model.transport.websocket中的类
WebSocket connection request configuration.
WebSocketRequest.Builder - io.agentscope.core.model.transport.websocket中的类
Builder for WebSocketRequest.
WebSocketTransport - io.agentscope.core.model.transport中的接口
WebSocket client interface.
WebSocketTransportConfig - io.agentscope.core.model.transport.websocket中的类
Configuration for WebSocket clients.
WebSocketTransportConfig.Builder - io.agentscope.core.model.transport.websocket中的类
Builder for WebSocketTransportConfig.
WebSocketTransportException - io.agentscope.core.model.transport.websocket中的异常错误类
WebSocket transport layer exception.
WebSocketTransportException(String, Throwable, String, String) - 异常错误类的构造器 io.agentscope.core.model.transport.websocket.WebSocketTransportException
Create a WebSocketTransportException.
WebSocketTransportException(String, Throwable, String, String, Map<String, String>) - 异常错误类的构造器 io.agentscope.core.model.transport.websocket.WebSocketTransportException
Create a WebSocketTransportException with headers.
WindowsCommandValidator - io.agentscope.core.tool.coding中的类
Command validator for Windows systems.
WindowsCommandValidator() - 类的构造器 io.agentscope.core.tool.coding.WindowsCommandValidator
 
withAppendedPath(String) - 类中的方法 io.agentscope.core.agent.EventSource
已过时。
Returns a new EventSource with path extended by segment, and depth incremented by one.
withContent(List<ContentBlock>) - 类中的方法 io.agentscope.core.message.Msg
Returns a copy of this message with the given content blocks.
withGenerateReason(GenerateReason) - 类中的方法 io.agentscope.core.message.Msg
Creates a new message with the specified generate reason.
withId(String) - 类中的方法 io.agentscope.core.model.ChatResponse
Creates a new instance of ChatResponse with the specified ID, copying all other fields from this instance.
withIdAndName(String, String) - 类中的方法 io.agentscope.core.message.ToolResultBlock
Create a ToolResultBlock for use in messages by setting id and name.
withMetadata(Map<String, Object>) - 类中的方法 io.agentscope.core.event.AgentEvent
Attaches arbitrary key-value metadata to this event and returns it for chaining.
withMode(PermissionMode) - 类中的方法 io.agentscope.core.permission.PermissionContextState
Returns a copy of this context with the PermissionMode replaced and every working directory and rule preserved.
withSource(EventSource) - 类中的方法 io.agentscope.core.agent.Event
已过时。
Returns a copy of this event with the given source attached.
withSource(String) - 类中的方法 io.agentscope.core.event.AgentEvent
Sets the source path and returns this event.
withState(ToolCallState) - 类中的方法 io.agentscope.core.message.ToolUseBlock
Returns a copy of this block with the given state.
withState(ToolResultState) - 类中的方法 io.agentscope.core.message.ToolResultBlock
Returns a copy of this block with the given state.
withSuggestedRules(List<PermissionRule>) - 类中的方法 io.agentscope.core.permission.PermissionDecision
Returns a copy of this decision with the given suggested rules attached.
withUsage() - 类中的静态方法 io.agentscope.core.formatter.openai.dto.OpenAIStreamOptions
Create a stream options with include_usage enabled.
wrap(String) - 类中的静态方法 io.agentscope.core.memory.LongTermMemoryTools
已过时。
 
WriteFileTool - io.agentscope.core.tool.file中的类
Text file writing and insertion tools.
WriteFileTool() - 类的构造器 io.agentscope.core.tool.file.WriteFileTool
Creates a WriteFileTool with no base directory restriction.
WriteFileTool(String) - 类的构造器 io.agentscope.core.tool.file.WriteFileTool
Creates a WriteFileTool with a base directory restriction.
writeTextFile(String, String, String) - 类中的方法 io.agentscope.core.tool.file.WriteFileTool
Create/Replace/Overwrite content in a text file.
writeTimeout(Duration) - 类中的方法 io.agentscope.core.model.transport.HttpTransportConfig.Builder
Set the write timeout.
writeTimeout(Duration) - 类中的方法 io.agentscope.core.model.transport.websocket.WebSocketTransportConfig.Builder
Set the write timeout.

X

XAICredential - io.agentscope.core.credential中的类
Credential for the xAI API.
XAICredential.Builder - io.agentscope.core.credential中的类
 
A B C D E F G H I J K L M N O P Q R S T U V W X 
常量字段值|所有程序包|所有类和接口|序列化表格