From c98228ef6fb7e4eaa25d302a205c05ffad688458 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Sat, 6 Jun 2026 06:30:20 +0200 Subject: [PATCH] fix(archivar): pass origin_room_id to classify_and_route() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ohne diesen Parameter kann der Router: - Multi-Agent-Raum nicht ausschließen (Schritt 0) - Herkunft nicht in LLM-Room-Lookup einbeziehen - Keine korrekte Catch-All-Validierung durchführen Adapter hat room_id in _process_incoming() bereits verfügbar. --- plugin/adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/adapter.py b/plugin/adapter.py index cb3aeba..4fe9a5f 100644 --- a/plugin/adapter.py +++ b/plugin/adapter.py @@ -573,7 +573,7 @@ class RocketChatAdapter(BasePlatformAdapter): # Klassifiziere die Nachricht und reichere den Context an category = "" try: - decision = await self.archivar.classify_and_route(text) + decision = await self.archivar.classify_and_route(text, origin_room_id=room_id) if decision and decision.category: category = decision.category except Exception as e: