fix: Add discord.py to Hermes container image for Discord channel support #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The Hermes gateway running in k3s cannot connect to Discord. Agent logs show:
The container image
hermes-speckl/sme:latestwas built without the Discord Python package.Impact
Blocks customer onboarding — the concierge agent cannot talk to customers through Discord. This is the last-mile blocker for end-to-end testing.
Fix
Add
python3Packages.discordpy(or equivalent Discord library) to the container image's Python environment. The upstream Hermes agent atgithub:NousResearch/hermes-agentneeds to include the Discord adapter dependencies in its build.Options:
python3Packages.discordpyto the hermes-speckl flake'sextraPackagesRelated
PR opened: https://os.scoble.me/forgejo/sscoble/hermes-speckl/pulls/3
Root cause: The upstream hermes-agent
[all]extras group stopped includingmessagingon May 12 (switched to lazy-install). Our Nix-built containers have nopip, so runtime lazy install fails.Fix: Override the hermes-agent package to include
extraDependencyGroups = ["messaging"], pulling in discord.py, python-telegram-bot, and slack-bolt.After merge: rebuild the image, import into containerd, restart concierge pod.