Skip to content

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 07 Sep 15:18
· 12 commits to main since this release
aad6931

What's Changed

Fixed

  • BaseMessage.data has its {} default back, now declared with
    validate_default=True. 0.4.0 made the field required to stop typed
    subclasses (BaseMessage[Order]) from silently accepting a missing payload;
    validating the default achieves the same without breaking
    BaseMessage(source=..., type=...) for the untyped base. Typed subclasses
    still reject a missing or malformed payload with a ValidationError.

Installation

pip install eggai==0.4.1