hermes - 💡(How to fix) Fix [Feature]: Support setting WhatsApp `bridge_port` configuration [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#23322Fetched 2026-05-11 03:30:00
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
0
Author
Participants
Timeline (top)
labeled ×5closed ×1commented ×1

Root Cause

The WhatsApp platform seems to support configuring thebridge_port used (https://github.com/NousResearch/hermes-agent/blob/44cdf555a83c1d8d605d095442e11efd58089533/gateway/platforms/whatsapp.py#L253), but setting bridge_port in the config is ignored. This is because there is no handling for this extra configuration option when loading the gateway configuration.

RAW_BUFFERClick to expand / collapse

Problem or Use Case

It is currently not possible to configure the Hermes gateway bridge_port for the WhatsApp integration.

The WhatsApp platform seems to support configuring thebridge_port used (https://github.com/NousResearch/hermes-agent/blob/44cdf555a83c1d8d605d095442e11efd58089533/gateway/platforms/whatsapp.py#L253), but setting bridge_port in the config is ignored. This is because there is no handling for this extra configuration option when loading the gateway configuration.

I'm running into this because I have another service running on my machine on port 3000.

Proposed Solution

Add handling for this configuration option in gateway/config.py. We need to define the corresponding environment variable, I suggest WHATSAPP_BRIDGE_PORT. Then, we need to set this environment variable if it was configured in the global configuration file, then set it in the platform configuration based on the environment variable. I tried this and it seemed to work.

Alternatives Considered

No response

Feature Type

Gateway / messaging improvement

Scope

Small (single file, < 50 lines)

Contribution

  • I'd like to implement this myself and submit a PR

I'd like to know in advance what is expected here: should I just do this for bridge_port or also for bridge_script as well?

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix [Feature]: Support setting WhatsApp `bridge_port` configuration [1 comments, 2 participants]