Class AgentUpdateParam.AgentUpdateParamBuilder<C extends AgentUpdateParam,B extends AgentUpdateParam.AgentUpdateParamBuilder<C,B>>
java.lang.Object
com.alibaba.dashscope.applications.agentstudio.base.HalfDuplexParamBase.HalfDuplexParamBaseBuilder<C,B>
com.alibaba.dashscope.applications.agentstudio.base.FlattenHalfDuplexParamBase.FlattenHalfDuplexParamBaseBuilder<C,B>
com.alibaba.dashscope.applications.agentstudio.param.AgentUpdateParam.AgentUpdateParamBuilder<C,B>
- Enclosing class:
- AgentUpdateParam
public abstract static class AgentUpdateParam.AgentUpdateParamBuilder<C extends AgentUpdateParam,B extends AgentUpdateParam.AgentUpdateParamBuilder<C,B>>
extends FlattenHalfDuplexParamBase.FlattenHalfDuplexParamBaseBuilder<C,B>
Adds the
model(...) aliases for modelConfig(...).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Cbuild()description(String description) mcpServers(List<Configs.McpServerConfig> mcpServers) model(Configs.ModelConfig modelConfig) Alias for callingmodelConfig(ModelConfig)withModelConfig.of(modelId).modelConfig(Configs.ModelConfig modelConfig) Omit it to leave the stored config untouched; sending one replaces it as a whole.multiagent(Configs.MultiAgentConfig multiagent) The server rejects an update that omits it (AGENT_005); re-send the current name.protected abstract Bself()skills(List<Configs.SkillConfig> skills) systemPrompt(String systemPrompt) tools(List<Configs.ToolConfig> tools) toString()Required: must equal the server's current (latest) version, or the update fails with 409.Methods inherited from class com.alibaba.dashscope.applications.agentstudio.base.HalfDuplexParamBase.HalfDuplexParamBaseBuilder
apiKey, clearHeaders, clearParameters, enableEncrypt, header, headers, parameter, parameters, securityCheck, workspace
-
Constructor Details
-
AgentUpdateParamBuilder
public AgentUpdateParamBuilder()
-
-
Method Details
-
model
Alias for callingmodelConfig(ModelConfig)withModelConfig.of(modelId). -
model
-
version
Required: must equal the server's current (latest) version, or the update fails with 409.- Returns:
this.
-
name
The server rejects an update that omits it (AGENT_005); re-send the current name.- Returns:
this.
-
modelConfig
Omit it to leave the stored config untouched; sending one replaces it as a whole.- Returns:
this.
-
description
- Returns:
this.
-
systemPrompt
- Returns:
this.
-
tools
- Returns:
this.
-
mcpServers
- Returns:
this.
-
skills
- Returns:
this.
-
multiagent
- Returns:
this.
-
metadata
- Returns:
this.
-
self
- Specified by:
selfin classFlattenHalfDuplexParamBase.FlattenHalfDuplexParamBaseBuilder<C extends AgentUpdateParam,B extends AgentUpdateParam.AgentUpdateParamBuilder<C, B>>
-
build
- Specified by:
buildin classFlattenHalfDuplexParamBase.FlattenHalfDuplexParamBaseBuilder<C extends AgentUpdateParam,B extends AgentUpdateParam.AgentUpdateParamBuilder<C, B>>
-
toString
- Overrides:
toStringin classFlattenHalfDuplexParamBase.FlattenHalfDuplexParamBaseBuilder<C extends AgentUpdateParam,B extends AgentUpdateParam.AgentUpdateParamBuilder<C, B>>
-