File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
api/core/tools/provider/builtin/audio/tools Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -57,13 +57,12 @@ def get_runtime_parameters(self) -> list[ToolParameter]:
5757 name = "model" ,
5858 label = I18nObject (en_US = "Model" , zh_Hans = "Model" ),
5959 human_description = I18nObject (
60- en_US = "All available ASR models" ,
61- zh_Hans = "所有可用的 ASR 模型" ,
60+ en_US = "All available ASR models. You can config model in the Model Provider of Settings. " ,
61+ zh_Hans = "所有可用的 ASR 模型。你可以在设置中的模型供应商里配置。 " ,
6262 ),
6363 type = ToolParameter .ToolParameterType .SELECT ,
6464 form = ToolParameter .ToolParameterForm .FORM ,
6565 required = True ,
66- default = options [0 ].value ,
6766 options = options ,
6867 )
6968 )
Original file line number Diff line number Diff line change @@ -77,13 +77,12 @@ def get_runtime_parameters(self) -> list[ToolParameter]:
7777 name = "model" ,
7878 label = I18nObject (en_US = "Model" , zh_Hans = "Model" ),
7979 human_description = I18nObject (
80- en_US = "All available TTS models" ,
81- zh_Hans = "所有可用的 TTS 模型" ,
80+ en_US = "All available TTS models. You can config model in the Model Provider of Settings. " ,
81+ zh_Hans = "所有可用的 TTS 模型。你可以在设置中的模型供应商里配置。 " ,
8282 ),
8383 type = ToolParameter .ToolParameterType .SELECT ,
8484 form = ToolParameter .ToolParameterForm .FORM ,
8585 required = True ,
86- default = options [0 ].value ,
8786 options = options ,
8887 ),
8988 )
You can’t perform that action at this time.
0 commit comments