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

- fix: refactor isLocalMessage to generalize use cases #32

Merged
merged 14 commits into from
Oct 5, 2023

Conversation

agallardol
Copy link
Collaborator

@agallardol agallardol commented Oct 4, 2023

Refactor over isLocalMessage method of shinkai-message-ts lib. Now this method relies on ShinkaiNameWrapper rules and supports mutiple cases. IE:

  • Messages sents by agents
  • Message sents by same node / same device
  • Message sents by same node / different device
  • Message sents by different nodes
  • ...

@nicarq nicarq merged commit b670f11 into main Oct 5, 2023
5 checks passed
@nicarq nicarq deleted the fix-is-local-message branch October 5, 2023 02:02
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