fetchai / uAgents

A fast and lightweight framework for creating decentralized agents with ease.
Apache License 2.0
775 stars 203 forks source link

fix(core): return envelope if no sinks in dispatcher #415

Closed jrriehl closed 2 weeks ago

jrriehl commented 2 weeks ago

Proposed Changes

Restores the functionality of getting a return envelope when sending a sync message from a standalone function, as in https://github.com/fetchai/uAgents/blob/main/python/examples/08-local-network-interaction/sync_sender.py.

Types of changes

What type of change does this pull request make (put an x in the boxes that apply)?

Checklist

Put an x in the boxes that apply:

If applicable

Further comments

[if this is a relatively large or complex change, kick off a discussion by explaining why you chose the solution you did, what alternatives you considered, etc...]