refactor: 收口 V3 分层架构与插件兼容边界

This commit is contained in:
jxxghp
2026-08-18 13:22:02 +08:00
parent cca99bd421
commit 8472bcff43
274 changed files with 10730 additions and 6130 deletions
+2
View File
@@ -5,6 +5,7 @@ from unittest.mock import Mock
from app.application.chain.context import ChainRuntimeContext
from app.application.chain import context as chain_context
from app.chain import ChainBase
from app.runtime.extensions.module.dispatcher import ModuleInvocationDispatcher
def _context() -> ChainRuntimeContext:
@@ -18,6 +19,7 @@ def _context() -> ChainRuntimeContext:
file_cache=Mock(),
async_file_cache=Mock(),
message_queue_factory=Mock(return_value=Mock()),
module_dispatcher_factory=ModuleInvocationDispatcher,
)