Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: Add agent_id property to BaseAgentV2 for backward compatibility (#8806)
github-actions[bot]9471fab2cf97
diff --git a/letta/agents/base_agent_v2.py b/letta/agents/base_agent_v2.pyindex df45b1763..b6fe89cef 100644--- a/letta/agents/base_agent_v2.py+++ b/letta/agents/base_agent_v2.py@@ -25,6 +25,11 @@ class BaseAgentV2(ABC):self.actor = actorself.logger = get_logger(agent_state.id)+ @property+ def agent_id(self) -> str:+ """Return the agent ID for backward compatibility with code expecting self.agent_id."""+ return self.agent_state.id+@abstractmethodasync def build_request(self,