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

python
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

  • FrameDecodeError
  • HelloError
  • AttachmentRef.from_dict
  • cls

Used By

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 809