You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.
i had this problem while trying to put a chain and/or hash table in the agent state
because we want to implement our memory/file/db storage of data as a trait, AgentState complains about type declarations unless we do something like box the trait
when we box the trait, it's much harder to do things like clone/reference/etc.
when we put the type declarations on AgentState, then it complains about type declarations on State, which then complains about type declarations on Persister, which then complains about a half dozen other type declarations...
i assume that we'll have the same problem with any trait, e.g. if we want the network interface to support bluetooth/wifi/etc. and then try to put it in the global state, we will suddenly have to start declaring the network type everywhere too
in the short term i commented out the usage of source chain straight from the agent state
The text was updated successfully, but these errors were encountered:
i had this problem while trying to put a chain and/or hash table in the agent state
because we want to implement our memory/file/db storage of data as a trait, AgentState complains about type declarations unless we do something like box the trait
when we box the trait, it's much harder to do things like clone/reference/etc.
when we put the type declarations on AgentState, then it complains about type declarations on State, which then complains about type declarations on Persister, which then complains about a half dozen other type declarations...
i assume that we'll have the same problem with any trait, e.g. if we want the network interface to support bluetooth/wifi/etc. and then try to put it in the global state, we will suddenly have to start declaring the network type everywhere too
in the short term i commented out the usage of source chain straight from the agent state
The text was updated successfully, but these errors were encountered: