From Frame • AI Agent SDK
from_frame: Validate a raw “message“ frame into typed params.
from_frame
Method
</div>
This is a method of the MessageParams class in the protocols module.
Validate a raw `message` frame into typed params.
Signature
def from_frame(data: Dict[str, Any]) -> 'MessageParams'Parameters
ParamField
Dict[str, Any]No description available.
Returns
ResponseField
'MessageParams'The result of the operation.
Uses
FrameDecodeErrorHelloErrorAttachmentRef.from_dictcls
Used By
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 809