Skip to content

[OMEGA-490] Remove legacy antispam filter, fix dropped token limit notifications - #383

Open
paul-v-snet wants to merge 3 commits into
patch-to-v0.1.20from
omega-490-token-linit-notification-fix
Open

paul-v-snet wants to merge 3 commits into
patch-to-v0.1.20from
omega-490-token-linit-notification-fix

Conversation

@paul-v-snet

Copy link
Copy Markdown
Collaborator

Description

The issue was caused by a deprecated antispam mechanism that was removed from MeTTaClaw but, for some reason, still remained in Omega. After an internal discussion, we decided to remove it, which automatically fixes the issue.

How Has This Been Tested?

  • Ran live tests: all passed
  • Ran mock tests: all green

Checklist

  • PR contains autogenerated code
  • Self-review completed
  • Test scenarios above are passed with the version of the code from PR

@paul-v-snet

paul-v-snet commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator Author

Autotests results are here: https://github.com/singnet/Omega/actions/runs/37621008796

Comment thread src/channels.metta Outdated
(progn (change-state! &lastsend $msg)
(let $safemsg (string-replace $msg "\n" "\\n")
(let $temp (cut) (commChannelSend $safemsg)))) _))
(progn (change-state! &lastsend $msg)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we still need &lastsend here now that the deduplication check has been removed? It looks like the value is no longer read.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, now it's not used anywhere, but I just decided to keep it in case it will be useful in the future.
So we can keep it or remove it, that actually won't affect anything, or I can just add a comment with a clarification.
What do you prefer?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’d prefer to remove it for now, since nothing reads it anymore.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed in 5910f6b

This branch has not been deployed

No deployments
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