feat: general接口拦截器

This commit is contained in:
martsforever
2025-10-15 19:39:13 +08:00
parent b530cb95b7
commit 560c9743dc
7 changed files with 285 additions and 144 deletions
-7
View File
@@ -113,13 +113,6 @@ async def close_postgres_connection():
await PostgresCheckpointerManager.close_instance()
# 在Windows平台上设置事件循环策略为WindowsSelectorEventLoopPolicy
if sys.platform == "win32":
from asyncio import WindowsSelectorEventLoopPolicy
asyncio.set_event_loop_policy(WindowsSelectorEventLoopPolicy())
def create_test_graph(checkpointer: AsyncPostgresSaver):
class StateSchema(TypedDict):
input: str