Compare commits
3 Commits
test/incre
...
feat/face-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a9df9208bc | ||
|
|
d7d697b293 | ||
|
|
9a55067a13 |
@@ -133,6 +133,7 @@ class BaseAgent(ABC):
|
|||||||
|
|
||||||
:param message: The message to send.
|
:param message: The message to send.
|
||||||
"""
|
"""
|
||||||
|
message.sender = self.name
|
||||||
to = message.to
|
to = message.to
|
||||||
receivers = [to] if isinstance(to, str) else to
|
receivers = [to] if isinstance(to, str) else to
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ class InternalMessage(BaseModel):
|
|||||||
"""
|
"""
|
||||||
Standard message envelope for communication between agents within the Control Backend.
|
Standard message envelope for communication between agents within the Control Backend.
|
||||||
|
|
||||||
:ivar to: The name of the destination agent.
|
:ivar to: The name(s) of the destination agent(s).
|
||||||
:ivar sender: The name of the sending agent.
|
:ivar sender: The name of the sending agent.
|
||||||
:ivar body: The string payload (often a JSON-serialized model).
|
:ivar body: The string payload (often a JSON-serialized model).
|
||||||
:ivar thread: An optional thread identifier/topic to categorize the message (e.g., 'beliefs').
|
:ivar thread: An optional thread identifier/topic to categorize the message (e.g., 'beliefs').
|
||||||
|
|||||||
Reference in New Issue
Block a user