File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 99 CreateMessageRequestParams ,
1010 CreateMessageResult ,
1111 CreateMessageResultWithTools ,
12- ImageContent ,
1312 Implementation ,
1413 InitializeRequest ,
1514 InitializeRequestParams ,
1615 JSONRPCMessage ,
1716 JSONRPCRequest ,
1817 ListToolsResult ,
19- PromptReference ,
2018 SamplingCapability ,
2119 SamplingMessage ,
2220 TextContent ,
@@ -73,17 +71,6 @@ async def test_method_initialization():
7371 assert initialize_request .params .protocolVersion == LATEST_PROTOCOL_VERSION
7472
7573
76- def test_content_type_literal_defaults ():
77- """Content types should default their Literal type field.
78-
79- This allows instantiation without explicitly passing the type discriminator,
80- e.g., TextContent(text="hello") instead of TextContent(type="text", text="hello").
81- """
82- assert TextContent (text = "hello" ).type == "text"
83- assert ImageContent (data = "base64" , mimeType = "image/png" ).type == "image"
84- assert PromptReference (name = "test" ).type == "ref/prompt"
85-
86-
8774@pytest .mark .anyio
8875async def test_tool_use_content ():
8976 """Test ToolUseContent type for SEP-1577."""
You can’t perform that action at this time.
0 commit comments