Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
feat:add hunyuan model(hunyuan-role, hunyuan-large, hunyuan-large-rol… (#11766)
xander-art56434db4f561
diff --git a/api/core/model_runtime/model_providers/hunyuan/hunyuan.yaml b/api/core/model_runtime/model_providers/hunyuan/hunyuan.yamlindex 812b51ddcd1..e0d95a830c6 100644--- a/api/core/model_runtime/model_providers/hunyuan/hunyuan.yaml+++ b/api/core/model_runtime/model_providers/hunyuan/hunyuan.yaml@@ -3,8 +3,8 @@ label:zh_Hans: 腾讯混元en_US: Hunyuandescription:- en_US: Models provided by Tencent Hunyuan, such as hunyuan-standard, hunyuan-standard-256k, hunyuan-pro and hunyuan-lite.- zh_Hans: 腾讯混元提供的模型,例如 hunyuan-standard、 hunyuan-standard-256k, hunyuan-pro 和 hunyuan-lite。+ en_US: Models provided by Tencent Hunyuan, such as hunyuan-standard, hunyuan-standard-256k, hunyuan-pro, hunyuan-role, hunyuan-large, hunyuan-large-role, hunyuan-turbo-latest, hunyuan-large-longcontext, hunyuan-turbo, hunyuan-vision, hunyuan-turbo-vision, hunyuan-functioncall and hunyuan-lite.+ zh_Hans: 腾讯混元提供的模型,例如 hunyuan-standard、 hunyuan-standard-256k, hunyuan-pro, hunyuan-role, hunyuan-large, hunyuan-large-role, hunyuan-turbo-latest, hunyuan-large-longcontext, hunyuan-turbo, hunyuan-vision, hunyuan-turbo-vision, hunyuan-functioncall 和 hunyuan-lite。icon_small:en_US: icon_s_en.pngicon_large:diff --git a/api/core/model_runtime/model_providers/hunyuan/llm/_position.yaml b/api/core/model_runtime/model_providers/hunyuan/llm/_position.yamlindex f494984443c..6f589b3094a 100644--- a/api/core/model_runtime/model_providers/hunyuan/llm/_position.yaml+++ b/api/core/model_runtime/model_providers/hunyuan/llm/_position.yaml@@ -4,3 +4,10 @@- hunyuan-pro- hunyuan-turbo- hunyuan-vision+- hunyuan-role+- hunyuan-large+- hunyuan-large-role+- hunyuan-large-longcontext+- hunyuan-turbo-latest+- hunyuan-turbo-vision+- hunyuan-functioncalldiff --git a/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-functioncall.yaml b/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-functioncall.yamlnew file mode 100644index 00000000000..eb8656917c1--- /dev/null+++ b/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-functioncall.yaml@@ -0,0 +1,38 @@+model: hunyuan-functioncall+label:+ zh_Hans: hunyuan-functioncall+ en_US: hunyuan-functioncall+model_type: llm+features:+ - agent-thought+ - tool-call+ - multi-tool-call+ - stream-tool-call+model_properties:+ mode: chat+ context_size: 32000+parameter_rules:+ - name: temperature+ use_template: temperature+ - name: top_p+ use_template: top_p+ - name: max_tokens+ use_template: max_tokens+ default: 1024+ min: 1+ max: 32000+ - name: enable_enhance+ label:+ zh_Hans: 功能增强+ en_US: Enable Enhancement+ type: boolean+ help:+ zh_Hans: 功能增强(如搜索)开关,关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。+ en_US: Allow the model to perform external search to enhance the generation results.+ required: false+ default: true+pricing:+ input: '0.004'+ output: '0.008'+ unit: '0.001'+ currency: RMBdiff --git a/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-large-longcontext.yaml b/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-large-longcontext.yamlnew file mode 100644index 00000000000..c39724a3a9e--- /dev/null+++ b/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-large-longcontext.yaml@@ -0,0 +1,38 @@+model: hunyuan-large-longcontext+label:+ zh_Hans: hunyuan-large-longcontext+ en_US: hunyuan-large-longcontext+model_type: llm+features:+ - agent-thought+ - tool-call+ - multi-tool-call+ - stream-tool-call+model_properties:+ mode: chat+ context_size: 134000+parameter_rules:+ - name: temperature+ use_template: temperature+ - name: top_p+ use_template: top_p+ - name: max_tokens+ use_template: max_tokens+ default: 1024+ min: 1+ max: 134000+ - name: enable_enhance+ label:+ zh_Hans: 功能增强+ en_US: Enable Enhancement+ type: boolean+ help:+ zh_Hans: 功能增强(如搜索)开关,关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。+ en_US: Allow the model to perform external search to enhance the generation results.+ required: false+ default: true+pricing:+ input: '0.006'+ output: '0.018'+ unit: '0.001'+ currency: RMBdiff --git a/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-large-role.yaml b/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-large-role.yamlnew file mode 100644index 00000000000..1b40b35ed5d--- /dev/null+++ b/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-large-role.yaml@@ -0,0 +1,38 @@+model: hunyuan-large-role+label:+ zh_Hans: hunyuan-large-role+ en_US: hunyuan-large-role+model_type: llm+features:+ - agent-thought+ - tool-call+ - multi-tool-call+ - stream-tool-call+model_properties:+ mode: chat+ context_size: 32000+parameter_rules:+ - name: temperature+ use_template: temperature+ - name: top_p+ use_template: top_p+ - name: max_tokens+ use_template: max_tokens+ default: 1024+ min: 1+ max: 32000+ - name: enable_enhance+ label:+ zh_Hans: 功能增强+ en_US: Enable Enhancement+ type: boolean+ help:+ zh_Hans: 功能增强(如搜索)开关,关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。+ en_US: Allow the model to perform external search to enhance the generation results.+ required: false+ default: true+pricing:+ input: '0.004'+ output: '0.008'+ unit: '0.001'+ currency: RMBdiff --git a/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-large.yaml b/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-large.yamlnew file mode 100644index 00000000000..87dc104e116--- /dev/null+++ b/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-large.yaml@@ -0,0 +1,38 @@+model: hunyuan-large+label:+ zh_Hans: hunyuan-large+ en_US: hunyuan-large+model_type: llm+features:+ - agent-thought+ - tool-call+ - multi-tool-call+ - stream-tool-call+model_properties:+ mode: chat+ context_size: 32000+parameter_rules:+ - name: temperature+ use_template: temperature+ - name: top_p+ use_template: top_p+ - name: max_tokens+ use_template: max_tokens+ default: 1024+ min: 1+ max: 32000+ - name: enable_enhance+ label:+ zh_Hans: 功能增强+ en_US: Enable Enhancement+ type: boolean+ help:+ zh_Hans: 功能增强(如搜索)开关,关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。+ en_US: Allow the model to perform external search to enhance the generation results.+ required: false+ default: true+pricing:+ input: '0.004'+ output: '0.012'+ unit: '0.001'+ currency: RMBdiff --git a/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-role.yaml b/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-role.yamlnew file mode 100644index 00000000000..0f6d2c5c440--- /dev/null+++ b/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-role.yaml@@ -0,0 +1,38 @@+model: hunyuan-role+label:+ zh_Hans: hunyuan-role+ en_US: hunyuan-role+model_type: llm+features:+ - agent-thought+ - tool-call+ - multi-tool-call+ - stream-tool-call+model_properties:+ mode: chat+ context_size: 32000+parameter_rules:+ - name: temperature+ use_template: temperature+ - name: top_p+ use_template: top_p+ - name: max_tokens+ use_template: max_tokens+ default: 1024+ min: 1+ max: 32000+ - name: enable_enhance+ label:+ zh_Hans: 功能增强+ en_US: Enable Enhancement+ type: boolean+ help:+ zh_Hans: 功能增强(如搜索)开关,关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。+ en_US: Allow the model to perform external search to enhance the generation results.+ required: false+ default: true+pricing:+ input: '0.004'+ output: '0.008'+ unit: '0.001'+ currency: RMBdiff --git a/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-turbo-latest.yaml b/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-turbo-latest.yamlnew file mode 100644index 00000000000..adfa3a4c1b8--- /dev/null+++ b/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-turbo-latest.yaml@@ -0,0 +1,38 @@+model: hunyuan-turbo-latest+label:+ zh_Hans: hunyuan-turbo-latest+ en_US: hunyuan-turbo-latest+model_type: llm+features:+ - agent-thought+ - tool-call+ - multi-tool-call+ - stream-tool-call+model_properties:+ mode: chat+ context_size: 32000+parameter_rules:+ - name: temperature+ use_template: temperature+ - name: top_p+ use_template: top_p+ - name: max_tokens+ use_template: max_tokens+ default: 1024+ min: 1+ max: 32000+ - name: enable_enhance+ label:+ zh_Hans: 功能增强+ en_US: Enable Enhancement+ type: boolean+ help:+ zh_Hans: 功能增强(如搜索)开关,关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。+ en_US: Allow the model to perform external search to enhance the generation results.+ required: false+ default: true+pricing:+ input: '0.015'+ output: '0.05'+ unit: '0.001'+ currency: RMBdiff --git a/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-turbo-vision.yaml b/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-turbo-vision.yamlnew file mode 100644index 00000000000..5b9b17cc506--- /dev/null+++ b/api/core/model_runtime/model_providers/hunyuan/llm/hunyuan-turbo-vision.yaml@@ -0,0 +1,39 @@+model: hunyuan-turbo-vision+label:+ zh_Hans: hunyuan-turbo-vision+ en_US: hunyuan-turbo-vision+model_type: llm+features:+ - agent-thought+ - tool-call+ - multi-tool-call+ - stream-tool-call+ - vision+model_properties:+ mode: chat+ context_size: 8000+parameter_rules:+ - name: temperature+ use_template: temperature+ - name: top_p+ use_template: top_p+ - name: max_tokens+ use_template: max_tokens+ default: 1024+ min: 1+ max: 8000+ - name: enable_enhance+ label:+ zh_Hans: 功能增强+ en_US: Enable Enhancement+ type: boolean+ help:+ zh_Hans: 功能增强(如搜索)开关,关闭时将直接由主模型生成回复内容,可以降低响应时延(对于流式输出时的首字时延尤为明显)。但在少数场景里,回复效果可能会下降。+ en_US: Allow the model to perform external search to enhance the generation results.+ required: false+ default: true+pricing:+ input: '0.08'+ output: '0.08'+ unit: '0.001'+ currency: RMB