Skip to content

Commit f8298c9

Browse files
committed
Add ToolChoiceType enum value
1 parent f0bfd76 commit f8298c9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

foundation-models/openai/src/main/java/com/sap/ai/sdk/foundationmodels/openai/model/OpenAiChatCompletionParameters.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,10 @@ private enum ToolChoiceType implements ToolChoice {
171171
NONE("none"),
172172

173173
/** `auto` means the model can pick between generating a message or calling a function. */
174-
AUTO("auto");
174+
AUTO("auto"),
175+
176+
/** `auto` means the model can pick between generating a message or calling a function. */
177+
REQUIRED("required");
175178

176179
@JsonValue @Nonnull private final String type;
177180
}

0 commit comments

Comments
 (0)