@@ -42,21 +42,19 @@ public class ChatCompletionCreateParams extends CommonRequest implements ClientR
4242 private Boolean stream ;
4343
4444 /**
45- * Sampling temperature, controls output randomness, must be positive Range:
46- * (0.0,1.0], cannot equal 0, default value is 0.95 Higher values make output more
47- * random and creative; lower values make output more stable or deterministic It's
48- * recommended to adjust either top_p or temperature parameter based on your use case,
49- * but not both simultaneously
45+ * Sampling temperature, controls output randomness, must be positive Range: [0.0,1.0]
46+ * default value is 0.95 Higher values make output more random and creative; lower
47+ * values make output more stable or deterministic It's recommended to adjust either
48+ * top_p or temperature parameter based on your use case, but not both simultaneously
5049 */
5150 private Float temperature ;
5251
5352 /**
54- * Another method for temperature sampling, called nucleus sampling Range: (0.0, 1.0)
55- * open interval, cannot equal 0 or 1, default value is 0.7 Model considers results
56- * with top_p probability mass tokens For example: 0.1 means the model decoder only
57- * considers tokens from the top 10% probability candidate set It's recommended to
58- * adjust either top_p or temperature parameter based on your use case, but not both
59- * simultaneously
53+ * Another method for temperature sampling, called nucleus sampling Range: (0.0, 1.0]
54+ * Model considers results with top_p probability mass tokens For example: 0.1 means
55+ * the model decoder only considers tokens from the top 10% probability candidate set
56+ * It's recommended to adjust either top_p or temperature parameter based on your use
57+ * case, but not both simultaneously
6058 */
6159 @ JsonProperty ("top_p" )
6260 private Float topP ;
@@ -118,6 +116,11 @@ public class ChatCompletionCreateParams extends CommonRequest implements ClientR
118116 */
119117 private ChatThinking thinking ;
120118
119+ /**
120+ * Whether to stream tool calls
121+ */
122+ private Boolean tool_stream ;
123+
121124 /**
122125 * Forced watermark switch
123126 */
0 commit comments