{"repo":"NousResearch/hermes-agent","public_id":"26359","display_label":"Telegram extra base_url config not propagated","summary":"A bug where telegram.extra.base_url is silently ignored due to missing config propagation, along with associated fixes to pass nested extra config through to the Telegram adapter.","subsystem":"gateway","counts":{"members":4,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":2},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":28496,"merged_at":"2026-05-19T05:15:47+00:00"},"resolution":{"state":"unresolved","by":null},"freshness":{"state":"verified","last_verified_at":"2026-05-19T05:15:47+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.5},"fix_edges":[{"issue_number":26359,"pr_number":28496,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-05-19T05:15:47+00:00"}],"members":[{"kind":"issue","number":26359,"title":"[Bug]: telegram.extra.base_url silently ignored — config propagation missing in gateway/config.py","url":null,"state":"closed"},{"kind":"pr","number":26361,"title":"fix(telegram): propagate nested extra config to adapter","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#28496","number":28496}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":28496,"title":"fix(telegram): propagate nested extra config to adapter","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["gateway/config.py","tests/gateway/test_config.py"],"fix_hunks":[{"file":"gateway/config.py","hunks":["@@ -1062,6 +1062,12 @@ def load_gateway_config() -> GatewayConfig:\n                             extra = {}\n                             plat_data[\"extra\"] = extra\n                         extra[_telegram_extra_key] = telegram_cfg[_telegram_extra_key]\n+                if _telegram_extra:\n+                    _plat_data, _plat_extra = _ensure_platform_extra_dict(\n+                        platforms_data, Platform.TELEGRAM.value\n+                    )\n+                    for _telegram_extra_key, _telegram_extra_value in _telegram_extra.items():\n+                        _plat_extra.setdefault(_telegram_extra_key, _telegram_extra_value)\n \n             whatsapp_cfg = yaml_cfg.get(\"whatsapp\", {})\n             if isinstance(whatsapp_cfg, dict):"]},{"file":"tests/gateway/test_config.py","hunks":["@@ -551,6 +551,26 @@ def test_bridges_telegram_disable_link_previews_from_config_yaml(self, tmp_path,\n \n         assert config.platforms[Platform.TELEGRAM].extra[\"disable_link_previews\"] is True\n \n+    def test_bridges_telegram_extra_base_url_from_config_yaml(self, tmp_path, monkeypatch):\n+        hermes_home = tmp_path / \".hermes\"\n+        hermes_home.mkdir()\n+        config_path = hermes_home / \"config.yaml\"\n+        config_path.write_text(\n+            \"telegram:\\n\"\n+            \"  extra:\\n\"\n+            \"    base_url: https://custom-proxy.example.com/bot\\n\",\n+            encoding=\"utf-8\",\n+        )\n+\n+        monkeypatch.setenv(\"HERMES_HOME\", str(hermes_home))\n+\n+        config = load_gateway_config()\n+\n+        assert (\n+            config.platforms[Platform.TELEGRAM].extra[\"base_url\"]\n+            == \"https://custom-proxy.example.com/bot\"\n+        )\n+\n     def test_bridges_notice_delivery_from_config_yaml(self, tmp_path, monkeypatch):\n         hermes_home = tmp_path / \".hermes\"\n         hermes_home.mkdir()\n"]}]},{"kind":"pr","number":64487,"title":"fix: propagate telegram.extra.base_url to platforms.telegram.extra","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"434d508d0a30d4b14decb80b0a7d4714c1da2993","number":0},{"kind":"commit","value":"4fe7db9e1c75","number":0},{"kind":"pr","value":"#26359","number":26359},{"kind":"pr","value":"#26361","number":26361},{"kind":"pr","value":"#28496","number":28496},{"kind":"pr","value":"#64487","number":64487},{"kind":"pr","value":"#374151","number":374151}],"category":"partial_fix","implication":"needs_llm"},"merged":false}],"trust":{"default_tier":"verified","includes_suggested":false}}