Skip to content

Commit 4f703e0

Browse files
committed
chore: add missing @JsonProperty to StopReason.UNKNOWN
1 parent c9b211a commit 4f703e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcp/src/main/java/io/modelcontextprotocol/spec/McpSchema.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ public enum StopReason {
10771077
@JsonProperty("endTurn") END_TURN("endTurn"),
10781078
@JsonProperty("stopSequence") STOP_SEQUENCE("stopSequence"),
10791079
@JsonProperty("maxTokens") MAX_TOKENS("maxTokens"),
1080-
UNKNOWN("unknown");
1080+
@JsonProperty("unknown") UNKNOWN("unknown");
10811081

10821082
private final String value;
10831083

0 commit comments

Comments
 (0)