Class ParamUtils

java.lang.Object
com.alibaba.dashscope.legacy_2x.utils.ParamUtils

@Deprecated public class ParamUtils extends Object
Deprecated.
  • Method Details

    • isQwenVersionThreeOrHigher

      public static boolean isQwenVersionThreeOrHigher(String modelName)
      Deprecated.
      Check if the model is qwen{n} where n is greater than or equal to 3
      Parameters:
      modelName - the model name to check
      Returns:
      true if model is qwen{n} where n is greater than or equal to 3, false otherwise
    • shouldModifyIncrementalOutput

      public static boolean shouldModifyIncrementalOutput(String modelName)
      Deprecated.
      Check if the increment_output parameter should be modified for the given model
      Parameters:
      modelName - the model name to check
      Returns:
      false if model contains "tts", "omni", or "qwen-deep-research", true otherwise