-
Notifications
You must be signed in to change notification settings - Fork 10
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
Agent and threads #75
Conversation
motto/thread_agents/thread_agents.py
Outdated
from hyperon.ext import register_atoms | ||
from hyperon.exts.agents import BaseListeningAgent | ||
|
||
class ListeningAgent(DialogAgent, BaseListeningAgent): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we can avoid multiple inheritance here. Isn't DialogAgent
a descendant of BaseListeningAgent
? If not (or will not after refactoring BaseListeningAgent
in hyperon-experimental, it may make sense to consider inheriting the base agent class in metta-motto from it.
motto/thread_agents/thread_agents.py
Outdated
} | ||
|
||
|
||
if __name__ == '__main__': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it ok to have this code here? It looks like an example rather than a functional code for the agent
example of listening agent. depends on trueagi-io/hyperon-experimental#793