Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.
Python agent-orchestrationaiai-agentschatopsdiscordlangchainmcpmicrosoft-teamsmulti-agentopen-sourceopenaiself-hostedslack
test: stub api_key_cache so the guard tests survive the api-key-cache merge
Abel Dantas2eca96da1ef6
diff --git a/core/tests/switch_core/bridges/agent/protocol/test_register_overwrite_owner_guard.py b/core/tests/switch_core/bridges/agent/protocol/test_register_overwrite_owner_guard.pyindex cbcd0cb95..9f27f1ffd 100644--- a/core/tests/switch_core/bridges/agent/protocol/test_register_overwrite_owner_guard.py+++ b/core/tests/switch_core/bridges/agent/protocol/test_register_overwrite_owner_guard.py@@ -71,6 +71,10 @@ def _service(session_factory: async_sessionmaker[AsyncSession]) -> ProtocolServisvc.client_lifecycle = _FakeClientLifecycle(session_factory) # type: ignore[attr-defined]svc.collab_lifecycle = _NoBridges() # type: ignore[attr-defined]svc.config = SimpleNamespace(jwt_secret_key="test-secret") # type: ignore[attr-defined]+ # Duck-typed: the attribute exists on ProtocolService after the api-key+ # cache landed on main; a no-op stand-in keeps this test valid on both+ # sides of that merge.+ svc.api_key_cache = SimpleNamespace(invalidate_agent=lambda *a, **k: None) # type: ignore[attr-defined]return svc