diff --git a/plugin/adapter.py b/plugin/adapter.py index 1d88fbc..90a7a45 100644 --- a/plugin/adapter.py +++ b/plugin/adapter.py @@ -941,7 +941,11 @@ class RocketChatAdapter(BasePlatformAdapter): target_name = self._room_info.get(target_room_id, {}).get("name", target_room_id[:12] + "…") archivar_suffix = f" [Frage {_question_counter}, {room_name} -> {target_name}]" else: - archivar_suffix = f" [Frage {_question_counter}, Timeout]" + # Timeout-Fallback: Agent braucht Raumliste für autonome Entscheidung + room_names = [info.get("name", "?") for rid, info in self._room_info.items() + if info.get("type") in ("c", "p") and rid != room_id] + rooms_str = ", ".join(room_names) if room_names else "keine weiteren Räume" + archivar_suffix = f" [Frage {_question_counter}, Timeout — Räume: {rooms_str}]" # ── Ende Kontext-Weitergabe ────────────────────────────────────── source = SessionSource( platform=Platform("rocketchat"),