Fix the issue of the refiner_Switches at param being invalid in the Novita.AI tool #5137

Closed
opened 2026-02-21 18:09:34 -05:00 by yindo · 1 comment
Owner

Originally created by @XiaoLey on GitHub (Aug 21, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.7.1

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

Fix the issue of the refiner_Switches at param being invalid in the Novita.AI tool

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @XiaoLey on GitHub (Aug 21, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.7.1 ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce Fix the issue of the refiner_Switches at param being invalid in the Novita.AI tool ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 18:09:34 -05:00
yindo closed this issue 2026-02-21 18:09:34 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 21, 2024):

To fix the issue of the refiner_switch_at parameter being invalid in the Novita.AI tool, ensure that the value you are providing for this parameter is within the valid range of [0.0, 1.0]. The parameter should be a number and not exceed these bounds.

Here is the relevant part of the configuration for refiner_switch_at:

  - name: refiner_switch_at
    type: number
    min: 0.0
    max: 1.0
    required: false
    label:
      en_US: refiner switch at
      zh_Hans: 重采样参与时刻
    human_description:
      en_US: This parameter in the context of a refiner allows you to set the extent to which the refiner alters the output of a model. When set to 0, the refiner has no effect; at 1, it's fully active. Intermediate values like 0.5 provide a balanced effect, where the refiner is moderately engaged, enhancing or adjusting the output without dominating the original model's characteristics. This setting is particularly useful for fine-tuning the output to achieve a desired balance between refinement and the original generative features, Range [0, 1.0]. Is not all models support refiners!
      zh_Hans: 此参数允许您设置重采样更改模型输出的程度。当设置为0时,重采样不起作用;1时,它处于完全活动状态。像0.5这样的中间值提供了一种平衡效果,其中重采样适度参与,增强或调整输出,而不会主导原始模型的特性。此设置对于微调输出特别有用,范围 [0, 1.0]。不是所有模型都支持重采样!
    form: form

Make sure your input adheres to this specification. For example, valid values include 0.0, 0.5, and 1.0. If you provide a value outside this range, it will be considered invalid [1].

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Aug 21, 2024): <!-- Answer --> To fix the issue of the `refiner_switch_at` parameter being invalid in the Novita.AI tool, ensure that the value you are providing for this parameter is within the valid range of [0.0, 1.0]. The parameter should be a number and not exceed these bounds. Here is the relevant part of the configuration for `refiner_switch_at`: ```yaml - name: refiner_switch_at type: number min: 0.0 max: 1.0 required: false label: en_US: refiner switch at zh_Hans: 重采样参与时刻 human_description: en_US: This parameter in the context of a refiner allows you to set the extent to which the refiner alters the output of a model. When set to 0, the refiner has no effect; at 1, it's fully active. Intermediate values like 0.5 provide a balanced effect, where the refiner is moderately engaged, enhancing or adjusting the output without dominating the original model's characteristics. This setting is particularly useful for fine-tuning the output to achieve a desired balance between refinement and the original generative features, Range [0, 1.0]. Is not all models support refiners! zh_Hans: 此参数允许您设置重采样更改模型输出的程度。当设置为0时,重采样不起作用;1时,它处于完全活动状态。像0.5这样的中间值提供了一种平衡效果,其中重采样适度参与,增强或调整输出,而不会主导原始模型的特性。此设置对于微调输出特别有用,范围 [0, 1.0]。不是所有模型都支持重采样! form: form ``` Make sure your input adheres to this specification. For example, valid values include `0.0`, `0.5`, and `1.0`. If you provide a value outside this range, it will be considered invalid <sup>[[1]](https://github.com/langgenius/dify/blob/main/api/core/tools/provider/builtin/novitaai/tools/novitaai_txt2img.yaml)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#5137