Просмотр исходного кода

fix: Remove duplicate 'response_format' parameter from model YAML files (#11531)

Co-authored-by: zhangkunyuan <zhangkunyuan@cmhi.chinamobile.com>
zkyTech 4 месяцев назад
Родитель
Сommit
fbc4ca980c

+ 0 - 2
api/core/model_runtime/model_providers/tongyi/llm/qwen-vl-max-0809.yaml

@@ -59,8 +59,6 @@ parameter_rules:
     help:
       zh_Hans: 生成时使用的随机数种子,用户控制模型生成内容的随机性。支持无符号64位整数,默认值为 1234。在使用seed时,模型将尽可能生成相同或相似的结果,但目前不保证每次生成的结果完全相同。
       en_US: The random number seed used when generating, the user controls the randomness of the content generated by the model. Supports unsigned 64-bit integers, default value is 1234. When using seed, the model will try its best to generate the same or similar results, but there is currently no guarantee that the results will be exactly the same every time.
-  - name: response_format
-    use_template: response_format
   - name: repetition_penalty
     required: false
     type: float

+ 0 - 2
api/core/model_runtime/model_providers/tongyi/llm/qwen-vl-max.yaml

@@ -59,8 +59,6 @@ parameter_rules:
     help:
       zh_Hans: 生成时使用的随机数种子,用户控制模型生成内容的随机性。支持无符号64位整数,默认值为 1234。在使用seed时,模型将尽可能生成相同或相似的结果,但目前不保证每次生成的结果完全相同。
       en_US: The random number seed used when generating, the user controls the randomness of the content generated by the model. Supports unsigned 64-bit integers, default value is 1234. When using seed, the model will try its best to generate the same or similar results, but there is currently no guarantee that the results will be exactly the same every time.
-  - name: response_format
-    use_template: response_format
   - name: repetition_penalty
     required: false
     type: float

+ 0 - 2
api/core/model_runtime/model_providers/tongyi/llm/qwen-vl-plus-0201.yaml

@@ -58,8 +58,6 @@ parameter_rules:
     help:
       zh_Hans: 生成时使用的随机数种子,用户控制模型生成内容的随机性。支持无符号64位整数,默认值为 1234。在使用seed时,模型将尽可能生成相同或相似的结果,但目前不保证每次生成的结果完全相同。
       en_US: The random number seed used when generating, the user controls the randomness of the content generated by the model. Supports unsigned 64-bit integers, default value is 1234. When using seed, the model will try its best to generate the same or similar results, but there is currently no guarantee that the results will be exactly the same every time.
-  - name: response_format
-    use_template: response_format
   - name: repetition_penalty
     required: false
     type: float

+ 0 - 2
api/core/model_runtime/model_providers/tongyi/llm/qwen-vl-plus-0809.yaml

@@ -59,8 +59,6 @@ parameter_rules:
     help:
       zh_Hans: 生成时使用的随机数种子,用户控制模型生成内容的随机性。支持无符号64位整数,默认值为 1234。在使用seed时,模型将尽可能生成相同或相似的结果,但目前不保证每次生成的结果完全相同。
       en_US: The random number seed used when generating, the user controls the randomness of the content generated by the model. Supports unsigned 64-bit integers, default value is 1234. When using seed, the model will try its best to generate the same or similar results, but there is currently no guarantee that the results will be exactly the same every time.
-  - name: response_format
-    use_template: response_format
   - name: repetition_penalty
     required: false
     type: float

+ 0 - 2
api/core/model_runtime/model_providers/tongyi/llm/qwen-vl-plus.yaml

@@ -59,8 +59,6 @@ parameter_rules:
     help:
       zh_Hans: 生成时使用的随机数种子,用户控制模型生成内容的随机性。支持无符号64位整数,默认值为 1234。在使用seed时,模型将尽可能生成相同或相似的结果,但目前不保证每次生成的结果完全相同。
       en_US: The random number seed used when generating, the user controls the randomness of the content generated by the model. Supports unsigned 64-bit integers, default value is 1234. When using seed, the model will try its best to generate the same or similar results, but there is currently no guarantee that the results will be exactly the same every time.
-  - name: response_format
-    use_template: response_format
   - name: repetition_penalty
     required: false
     type: float