diff --git a/nanobot/agent/context.py b/nanobot/agent/context.py index 995cebb09da..bed8eab2c2c 100644 --- a/nanobot/agent/context.py +++ b/nanobot/agent/context.py @@ -224,6 +224,7 @@ async def build_messages_full( media: list[str] | None = None, channel: str | None = None, chat_id: str | None = None, + current_role: str = "user", ) -> list[dict[str, Any]]: """Build the complete message list with memory compaction for actual LLM calls.""" runtime_ctx = self._build_runtime_context(channel, chat_id)