The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(gateway): run channel-directory write off the event loop
landaun0cf48bca2572
diff --git a/gateway/channel_directory.py b/gateway/channel_directory.pyindex da643ba1460..23d6f361e16 100644--- a/gateway/channel_directory.py+++ b/gateway/channel_directory.py@@ -206,7 +206,7 @@ async def build_channel_directory(adapters: Dict[Any, Any]) -> Dict[str, Any]:}try:- atomic_json_write(DIRECTORY_PATH, directory)+ await asyncio.to_thread(atomic_json_write, DIRECTORY_PATH, directory)except Exception as e:logger.warning("Channel directory: failed to write: %s", e)