Describe the problem.
Messages received via the http exchange are received as dict objects, rather than message objects defined in academy.message.
So while logging of messages shows the correct message type:
the receive of a message does not show the message type:
[2026-02-25 12:20:48.914] [tid=254838 pid=254838 task=Task-11] DEBUG (academy.exchange.client) Received dict from AgentId<853058f4> for UserId<47635e05> message_type: dict src: AgentId<853058f4> dest: UserId<47635e05> message_tag: 8c4c7bcc-57b9-45d9-aae4-8cbeb6c45b81 message_label: dad098df-2e38-4034-94dd-497b85994abf
It would be nice to log the message type correctly here.
How did you install and run the code?
Version
a0e95e6
Python Version
Python 3.13.5 (main, Jun 25 2025, 18:55:22) [GCC 14.2.0] on linux
OS and Platform
x86_64 linux
Describe the problem.
Messages received via the http exchange are received as
dictobjects, rather than message objects defined inacademy.message.So while logging of messages shows the correct message type:
the receive of a message does not show the message type:
It would be nice to log the message type correctly here.
How did you install and run the code?
pip install -e .Version
a0e95e6
Python Version
Python 3.13.5 (main, Jun 25 2025, 18:55:22) [GCC 14.2.0] on linux
OS and Platform
x86_64 linux