Skip to content

Commit 8a92c34

Browse files
committed
Fix finish reason
1 parent ba1a575 commit 8a92c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public enum FinishReason {
3333
/** The assistant message finished normally. */
3434
STOP("stop"),
3535
/** The generated message is cut off because the maximum number of output tokens was reached. */
36-
MAX_TOKENS("max_tokens"),
36+
LENGTH("length"),
3737
/** The generated message was filtered out by an output content filter. */
3838
CONTENT_FILTER("content_filter"),
3939
/** The assistant message finished with a non-standardized reason. */

0 commit comments

Comments
 (0)