@@ -98,9 +98,9 @@ class TransportProtocol(str, Enum):
9898 Supported A2A transport protocols.
9999 """
100100
101- jsonrpc = 'JSONRPC'
102- grpc = 'GRPC'
103- http_json = 'HTTP+JSON'
101+ JSONRPC = 'JSONRPC'
102+ GRPC = 'GRPC'
103+ HTTP_JSON = 'HTTP+JSON'
104104
105105
106106class AgentInterface (A2ABaseModel ):
@@ -112,9 +112,9 @@ class AgentInterface(A2ABaseModel):
112112 transport : TransportProtocol = Field (
113113 ...,
114114 examples = [
115- TransportProtocol .jsonrpc ,
116- TransportProtocol .grpc ,
117- TransportProtocol .http_json ,
115+ TransportProtocol .JSONRPC ,
116+ TransportProtocol .GRPC ,
117+ TransportProtocol .HTTP_JSON ,
118118 ],
119119 )
120120 """
@@ -1782,11 +1782,11 @@ class AgentCard(A2ABaseModel):
17821782 A human-readable name for the agent.
17831783 """
17841784 preferred_transport : TransportProtocol | None = Field (
1785- default = TransportProtocol .jsonrpc ,
1785+ default = TransportProtocol .JSONRPC ,
17861786 examples = [
1787- TransportProtocol .jsonrpc ,
1788- TransportProtocol .grpc ,
1789- TransportProtocol .http_json ,
1787+ TransportProtocol .JSONRPC ,
1788+ TransportProtocol .GRPC ,
1789+ TransportProtocol .HTTP_JSON ,
17901790 ],
17911791 )
17921792 """
0 commit comments