refactor(agent): rename auto compact module

Rename the auto compact module to autocompact.py for a cleaner path while keeping the AutoCompact type and behavior unchanged. Update the agent loop import to match.
This commit is contained in:
Xubin Ren authored and Xubin Ren committed 2026-04-11 15:56:41 +08:00
1 parent 84e840659a
commit 5932482d01
2 files changed
+1 -1

No files matched your search

File renamed without changes.
+1 -1
View File
@@ -13,7 +13,7 @@ from typing import TYPE_CHECKING, Any, Awaitable, Callable
from loguru import logger from loguru import logger
from nanobot.agent.auto_compact import AutoCompact from nanobot.agent.autocompact import AutoCompact
from nanobot.agent.context import ContextBuilder from nanobot.agent.context import ContextBuilder
from nanobot.agent.hook import AgentHook, AgentHookContext, CompositeHook from nanobot.agent.hook import AgentHook, AgentHookContext, CompositeHook
from nanobot.agent.memory import Consolidator, Dream from nanobot.agent.memory import Consolidator, Dream