-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Received messages only contain the content #230
Comments
Yes one more vote for fixing this. |
@thaije To resolve this we can fill the However, the What do you think? |
Yes it's only logical to include the full Message object. Message objects should be immutable. |
I vote against "trust the user". It's not about trusting the user, but to avoid him making mistakes. imho good code by design prevents users making mistakes. |
@Wouter1 thanks for notifying on the issue. It was already known that the current message system is not very intuitive (see #204), however this will put it higher on the priority list. Issue #112 explains nicely why the message system is as it is now: we started off with a closed message system where users could only provide message content, but later we moved to a more open message system where users could extend the I would also vote for messages containing the entire |
Describe the bug
Within an
AgentBrain
theself.received_messages
only contains the message content. This prevents the agent from knowing who send the message and to whom else it was send.To Reproduce
Send a message from one agent to another. The receiving agent's
self.received_messages
is a list of the message content it received. See also this line in the AgentBrain.pyExpected behavior
To have the
self.received_messages
contain a list ofMessage
objects (or a child type of it).Screenshots
N/A
Stacktrace
N/A
Additional context
Bug found in the DASH project.
The text was updated successfully, but these errors were encountered: