The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(teams): correct which cards carry the command in their button data
Tekniumab8bd7ba4fab
diff --git a/plugins/platforms/teams/adapter.py b/plugins/platforms/teams/adapter.pyindex 8177070b887..0afa4273688 100644--- a/plugins/platforms/teams/adapter.py+++ b/plugins/platforms/teams/adapter.py@@ -649,7 +649,7 @@ class TeamsAdapter(BasePlatformAdapter):choice = _APPROVAL_CHOICES.get(hermes_action)if not choice:return self._invoke_message(t("platform.teams.approval.unknown_action"))- # Cards sent before a restart (or by an older build) carry cmd/desc in the button data instead.+ # Cards from an older build carry cmd/desc in the button data instead.cmd, desc = self._approval_previews.get(data.get("prompt_id", ""), (data.get("cmd", ""), data.get("desc", "")))if not has_blocking_approval(session_key):body = _approval_body(cmd, desc)