Skip to content
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

Merged
merged 12 commits into from
Nov 21, 2024
Merged

Agent and threads #75

merged 12 commits into from
Nov 21, 2024

Conversation

besSveta
Copy link
Collaborator

@besSveta besSveta commented Nov 7, 2024

example of listening agent. depends on trueagi-io/hyperon-experimental#793

@besSveta besSveta requested a review from Necr0x0Der November 7, 2024 15:21
from hyperon.ext import register_atoms
from hyperon.exts.agents import BaseListeningAgent

class ListeningAgent(DialogAgent, BaseListeningAgent):
Copy link
Contributor

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.

}


if __name__ == '__main__':
Copy link
Contributor

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

@Necr0x0Der Necr0x0Der merged commit c1f5323 into main Nov 21, 2024
@Necr0x0Der Necr0x0Der deleted the agent_and_threads branch November 21, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants