Moved `InternalMessage` into schemas and created a `BeliefMessage` model. Also added the ability for agents to communicate via ZMQ to agents on another process. ref: N25B-316
13 lines
194 B
Python
13 lines
194 B
Python
from pydantic import BaseModel
|
|
|
|
|
|
class InternalMessage(BaseModel):
|
|
"""
|
|
Represents a message to an agent.
|
|
"""
|
|
|
|
to: str
|
|
sender: str
|
|
body: str
|
|
thread: str | None = None
|