Skip to content

Commit e426280

Browse files
b4sjoogithub-actions[bot]
authored andcommitted
Relax parameter restriction in claude v2 model (#3591)
Signed-off-by: Sicheng Song <sicheng.song@outlook.com> (cherry picked from commit 4a33315)
1 parent b09b8f6 commit e426280

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

common/src/main/java/org/opensearch/ml/common/utils/ModelInterfaceUtils.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,7 @@ public class ModelInterfaceUtils {
352352
+ " },\n"
353353
+ " \"required\": [\n"
354354
+ " \"type\",\n"
355-
+ " \"completion\",\n"
356-
+ " \"stop_reason\",\n"
357-
+ " \"stop\"\n"
355+
+ " \"completion\"\n"
358356
+ " ]\n"
359357
+ " }\n"
360358
+ " },\n"

0 commit comments

Comments
 (0)