Internal Release 0.5.0
Bump protocol version to 2025-03-26 Provide fallback value for tool_name Make configuration per server Add support for tool annotations document tool annotations
This commit is contained in:
parent
2eca3681df
commit
7175d49108
1 changed files with 353 additions and 42 deletions
|
|
@ -30,8 +30,8 @@ module ModelContextProtocol
|
|||
expected_template_result = {
|
||||
description: "Hello, world!",
|
||||
messages: [
|
||||
{ role: "user", content: { text: "Hello, world!" } },
|
||||
{ role: "assistant", content: { text: "Hello, friend!" } },
|
||||
{ role: "user", content: { text: "Hello, world!", type: "text" } },
|
||||
{ role: "assistant", content: { text: "Hello, friend!", type: "text" } },
|
||||
],
|
||||
}
|
||||
|
||||
|
|
@ -72,8 +72,8 @@ module ModelContextProtocol
|
|||
expected_template_result = {
|
||||
description: "Hello, world!",
|
||||
messages: [
|
||||
{ role: "user", content: { text: "Hello, world!" } },
|
||||
{ role: "assistant", content: { text: "Hello, friend!" } },
|
||||
{ role: "user", content: { text: "Hello, world!", type: "text" } },
|
||||
{ role: "assistant", content: { text: "Hello, friend!", type: "text" } },
|
||||
],
|
||||
}
|
||||
|
||||
|
|
@ -134,8 +134,8 @@ module ModelContextProtocol
|
|||
expected = {
|
||||
description: "Hello, world!",
|
||||
messages: [
|
||||
{ role: "user", content: { text: "Hello, world!" } },
|
||||
{ role: "assistant", content: { text: "Hello, friend! user: 123" } },
|
||||
{ role: "user", content: { text: "Hello, world!", type: "text" } },
|
||||
{ role: "assistant", content: { text: "Hello, friend! user: 123", type: "text" } },
|
||||
],
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue