refactor(message-gate): fix review issues - remove race condition, dead code, unused imports
- Remove _current_bot_id_mapping instance variable, pass bot_id_mapping as parameter instead (race condition fix) - Remove dead _process_message_async function from agent_hub.py - Remove unused SessionMemory import in _classify_and_rewrite - Update close() to cancel running tasks before clearing - Remove unused messages parameter from evaluate() - Remove dead _dispatch_to_agent_hub mock in test Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Showing
3 changed files
with
8 additions
and
45 deletions
-
Please register or sign in to post a comment