We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b134c36 commit 7a8107cCopy full SHA for 7a8107c
src/a2a/types.py
@@ -637,15 +637,15 @@ class JSONRPCRequest(A2ABaseModel):
637
A unique identifier established by the client. It must be a String, a Number, or null.
638
The server must reply with the same value in the response. This property is omitted for notifications.
639
"""
640
- jsonrpc: Literal['2.0']
+ jsonrpc: Literal['2.0'] = '2.0'
641
642
The version of the JSON-RPC protocol. MUST be exactly "2.0".
643
644
method: str
645
646
A string containing the name of the method to be invoked.
647
648
- params: Any = None
+ params: dict[str, Any] | None = None
649
650
A structured value holding the parameter values to be used during the method invocation.
651
0 commit comments