Class ParamUtils
java.lang.Object
com.alibaba.dashscope.legacy_2x.utils.ParamUtils
Deprecated.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisQwenVersionThreeOrHigher(String modelName) Deprecated.Check if the model is qwen{n} where n is greater than or equal to 3static booleanshouldModifyIncrementalOutput(String modelName) Deprecated.Check if the increment_output parameter should be modified for the given model
-
Method Details
-
isQwenVersionThreeOrHigher
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
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
-