fetchai / uAgents

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

Revise dialogue timeout handling #413

Open Dacksus opened 3 months ago

Dacksus commented 3 months ago

To allow dialogues being picked up again even after agent restart, dialogue history is persisted in a json file, which needs to be removed at some point. Since proper conclusion of a dialogue can't be guaranteed, there currently is a local timeout, after which a dialogue is removed. There are several potential issues with that that need to be addressed: