feat: able to send to multiple receivers

ref: N25B-441
This commit is contained in:
2026-01-13 11:06:42 +01:00
parent 612a96940d
commit c0b8fb8612
2 changed files with 18 additions and 11 deletions

View File

@@ -1,3 +1,5 @@
from collections.abc import Iterable
from pydantic import BaseModel
@@ -11,7 +13,7 @@ class InternalMessage(BaseModel):
:ivar thread: An optional thread identifier/topic to categorize the message (e.g., 'beliefs').
"""
to: str
to: str | Iterable[str]
sender: str
body: str
thread: str | None = None