{"repo":"NousResearch/hermes-agent","public_id":"1739","display_label":"Alibaba and Anthropic auth and config fixes","summary":"A mix of bug fixes targeting authentication and configuration issues for two providers: Alibaba/DashScope (model name handling, 401 auth errors, agent identity injection) and Anthropic (OAuth autodiscovery, token setup flow, stale entry pruning).","subsystem":"agent","counts":{"members":4,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":2,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":2332,"merged_at":"2026-03-21T16:51:40+00:00"},"resolution":{"state":"resolved","by":"pr-2332"},"freshness":{"state":"stale","last_verified_at":"2026-03-21T16:51:40+00:00","is_stale":true},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.5},"fix_edges":[{"issue_number":1739,"pr_number":2314,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-03-21T14:11:51+00:00"},{"issue_number":1739,"pr_number":2332,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-03-21T16:51:40+00:00"},{"issue_number":2300,"pr_number":2314,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-03-21T14:11:51+00:00"}],"members":[{"kind":"issue","number":1739,"title":"[Bug]: Can't use alibaba codingplan w,th hermes agent","url":null,"state":"closed"},{"kind":"pr","number":1748,"title":"Fix Alibaba/DashScope: preserve model dots (qwen3.5-plus) and fix 401 auth (Fixes #1739)","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#2332","number":2332},{"kind":"pr","value":"#2314","number":2314}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":2314,"title":"fix(agent): inject model identity for Alibaba Coding Plan","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["run_agent.py"],"fix_hunks":[{"file":"run_agent.py","hunks":["@@ -2329,6 +2329,18 @@ def _build_system_prompt(self, system_message: str = None) -> str:\n             timestamp_line += f\"\\nProvider: {self.provider}\"\n         prompt_parts.append(timestamp_line)\n \n+        # Alibaba Coding Plan API always returns \"glm-4.7\" as model name regardless\n+        # of the requested model. Inject explicit model identity into the system prompt\n+        # so the agent can correctly report which model it is (workaround for API bug).\n+        if self.provider in (\"alibaba-coding-plan\", \"alibaba-coding-plan-anthropic\"):\n+            _model_short = self.model.split(\"/\")[-1] if \"/\" in self.model else self.model\n+            prompt_parts.append(\n+                f\"You are powered by the model named {_model_short}. \"\n+                f\"The exact model ID is {self.model}. \"\n+                f\"When asked what model you are, always answer based on this information, \"\n+                f\"not on any model name returned by the API.\"\n+            )\n+\n         platform_key = (self.platform or \"\").lower().strip()\n         if platform_key in PLATFORM_HINTS:\n             prompt_parts.append(PLATFORM_HINTS[platform_key])\n"]}]},{"kind":"pr","number":2332,"title":"fix: Alibaba/DashScope: preserve model dots, fix 401 auth, fix dead provider check (salvage #1748 + fix #2314)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/anthropic_adapter.py","run_agent.py","tests/test_anthropic_adapter.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}