Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
chore: defer compatibility cleanup to v0.3.1
Xubin Ren9a7debcb48b1
diff --git a/nanobot/channels/registry.py b/nanobot/channels/registry.pyindex a933c8206..2958afeef 100644--- a/nanobot/channels/registry.py+++ b/nanobot/channels/registry.py@@ -21,7 +21,7 @@ if TYPE_CHECKING:@cachedef _warn_legacy_channel_entry_points() -> None:- # TODO(v0.2.4): Remove this detection and warning. v0.2.3 is the final+ # TODO(v0.3.1): Remove this detection and warning. v0.3.0 is the final# migration window for installed legacy channel entry points.names = sorted({entry_point.name for entry_point in entry_points(group="nanobot.channels")})if not names:diff --git a/nanobot/config/loader.py b/nanobot/config/loader.pyindex 90da366f2..3af4bde1f 100644--- a/nanobot/config/loader.py+++ b/nanobot/config/loader.py@@ -209,7 +209,7 @@ def _migrate_config(data: dict) -> dict:defaults.pop("maxMessages", None)defaults.pop("max_messages", None)if had_legacy_max_messages:- # TODO(v0.2.4): Remove this legacy cleanup branch. v0.2.3 is the+ # TODO(v0.3.1): Remove this legacy cleanup branch. v0.3.0 is the# final release that warns before the schema silently ignores the field.logger.warning("agents.defaults.maxMessages/max_messages is legacy and ignored; "diff --git a/nanobot/session/manager.py b/nanobot/session/manager.pyindex a79196744..31dc8d005 100644--- a/nanobot/session/manager.py+++ b/nanobot/session/manager.py@@ -513,7 +513,7 @@ class SessionManager:if path.exists():return path- # TODO(v0.2.4): Remove both legacy fallbacks. v0.2.3 is the final+ # TODO(v0.3.1): Remove both legacy fallbacks. v0.3.0 is the final# compatibility window for reading and lazily migrating legacy session files.fallback_paths = [(self._get_legacy_lossy_path(key), "legacy lossy path"),