Skip to content

Commit 6a1f982

Browse files
committed
Upgrade io.modelcontextprotocol 0.10.0 -> 0.11.0-SNAPSHOT
Signed-off-by: Daniel Garnier-Moiroux <[email protected]>
1 parent d865c9e commit 6a1f982

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mcp/common/src/test/java/org/springframework/ai/mcp/AsyncMcpToolCallbackTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void callShouldThrowOnError() {
3434
assertThatThrownBy(() -> callback.call("{\"param\":\"value\"}")).isInstanceOf(ToolExecutionException.class)
3535
.cause()
3636
.isInstanceOf(IllegalStateException.class)
37-
.hasMessage("Error calling tool: [TextContent[audience=null, priority=null, text=Some error data]]");
37+
.hasMessage("Error calling tool: [TextContent[annotations=null, text=Some error data]]");
3838
}
3939

4040
@Test

mcp/common/src/test/java/org/springframework/ai/mcp/SyncMcpToolCallbackTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ void callShouldThrowOnError() {
114114
assertThatThrownBy(() -> callback.call("{\"param\":\"value\"}")).isInstanceOf(ToolExecutionException.class)
115115
.cause()
116116
.isInstanceOf(IllegalStateException.class)
117-
.hasMessage("Error calling tool: [TextContent[audience=null, priority=null, text=Some error data]]");
117+
.hasMessage("Error calling tool: [TextContent[annotations=null, text=Some error data]]");
118118
}
119119

120120
@Test

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@
317317
<json-unit-assertj.version>4.1.0</json-unit-assertj.version>
318318

319319
<!-- MCP-->
320-
<mcp.sdk.version>0.10.0</mcp.sdk.version>
320+
<mcp.sdk.version>0.11.0-SNAPSHOT</mcp.sdk.version>
321321

322322
<!-- plugin versions -->
323323
<antlr.version>4.13.1</antlr.version>

0 commit comments

Comments
 (0)