fix(agent): preserve core hook failure semantics

This commit is contained in:
Xubin Ren authored and Xubin Ren committed 2026-03-31 02:19:29 +08:00
1 parent 758c4e74c9
commit 842b8b255d
3 files changed
+9 -15

No files matched your search

+2 -4
View File
@@ -2,10 +2,10 @@
from nanobot.agent.context import ContextBuilder
from nanobot.agent.hook import AgentHook, AgentHookContext, CompositeHook
from nanobot.agent.loop import AgentLoop, LoopHook
from nanobot.agent.loop import AgentLoop
from nanobot.agent.memory import MemoryStore
from nanobot.agent.skills import SkillsLoader
from nanobot.agent.subagent import SubagentHook, SubagentManager
from nanobot.agent.subagent import SubagentManager
__all__ = [
"AgentHook",
@@ -13,9 +13,7 @@ __all__ = [
"AgentLoop",
"CompositeHook",
"ContextBuilder",
"LoopHook",
"MemoryStore",
"SkillsLoader",
"SubagentHook",
"SubagentManager",
]