You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: volcengine-java-sdk-ark-runtime/src/main/java/com/volcengine/ark/runtime/model/completion/chat/ChatCompletionRequest.java
+23Lines changed: 23 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,12 @@ public class ChatCompletionRequest {
79
79
@JsonProperty("max_tokens")
80
80
IntegermaxTokens;
81
81
82
+
/**
83
+
* The maximum number of tokens allowed for the generated answer, including reasoning tokens.
84
+
*/
85
+
@JsonProperty("max_completion_tokens")
86
+
IntegermaxCompletionTokens;
87
+
82
88
/**
83
89
* Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far,
84
90
* increasing the model's likelihood to talk about new topics.
Copy file name to clipboardExpand all lines: volcengine-java-sdk-ark-runtime/src/main/java/com/volcengine/ark/runtime/model/content/generation/GetContentGenerationTaskResponse.java
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,14 @@ public void setStatus(String status) {
0 commit comments