feat(v2): T5 WorkerLoop + 接地验证(代码沙箱/facts对照/结构检查)

This commit is contained in:
tzt
2026-08-30 21:08:45 +08:00
parent b3143e2914
commit 4fbbdb5290
5 changed files with 502 additions and 2 deletions
+7 -1
View File
@@ -10,5 +10,11 @@ from router_system.router import build_router
@pytest.fixture()
def router():
"""????????? mock ?????????????"""
"""共享的 mock 全链路路由实例(零依赖、离线可跑)"""
return build_router()
@pytest.fixture()
def kb():
"""v2 验证接地用的知识库实例(facts 对照)。"""
from router_system.knowledge import KnowledgeBase
return KnowledgeBase()