Skip to content

Commit 64f424d

Browse files
committed
fix: update McpSchemaTests to align with changes in #9
Signed-off-by: Christian Tzolov <[email protected]>
1 parent c35e896 commit 64f424d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: mcp/src/test/java/io/modelcontextprotocol/spec/McpSchemaTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ void testCreateMessageRequest() throws Exception {
536536
.isObject()
537537
.isEqualTo(
538538
json("""
539-
{"messages":[{"role":"user","content":{"type":"text","text":"User message"}}],"modelPreferences":{"hints":[{"name":"gpt-4"}],"costPriority":0.3,"speedPriority":0.7,"intelligencePriority":0.9},"systemPrompt":"You are a helpful assistant","includeContext":"this_server","temperature":0.7,"maxTokens":1000,"stopSequences":["STOP","END"],"metadata":{"session":"test-session"}}"""));
539+
{"messages":[{"role":"user","content":{"type":"text","text":"User message"}}],"modelPreferences":{"hints":[{"name":"gpt-4"}],"costPriority":0.3,"speedPriority":0.7,"intelligencePriority":0.9},"systemPrompt":"You are a helpful assistant","includeContext":"thisServer","temperature":0.7,"maxTokens":1000,"stopSequences":["STOP","END"],"metadata":{"session":"test-session"}}"""));
540540
}
541541

542542
@Test

0 commit comments

Comments
 (0)