Merge branch 'main' into fix/chore-fix

This commit is contained in:
Yeuoly
2024-12-27 17:33:58 +08:00
416 changed files with 14790 additions and 5027 deletions

View File

@ -267,6 +267,7 @@ class ToolParameter(PluginParameter):
:param options: the options of the parameter
"""
# convert options to ToolParameterOption
# FIXME fix the type error
if options:
option_objs = [
PluginParameterOption(value=option, label=I18nObject(en_US=option, zh_Hans=option))