feat: agent strategy parameter add help information (#18192)

This commit is contained in:
Junjie.M
2025-04-16 17:24:09 +08:00
committed by GitHub
parent da7c8621f7
commit b7e8517b31
3 changed files with 4 additions and 2 deletions

View File

@@ -52,6 +52,7 @@ class AgentStrategyParameter(PluginParameter):
return cast_parameter_value(self, value)
type: AgentStrategyParameterType = Field(..., description="The type of the parameter")
help: Optional[I18nObject] = None
def init_frontend_parameter(self, value: Any):
return init_frontend_parameter(self, self.type, value)