feat: add desktop ui app

This commit is contained in:
Shubham Naik
2024-12-27 13:33:09 -08:00
parent 1828e6ca3b
commit 47439a9ffc
2 changed files with 1 additions and 2 deletions

View File

@@ -16,7 +16,6 @@ from letta.constants import ADMIN_PREFIX, API_PREFIX, OPENAI_API_PREFIX
from letta.errors import LettaAgentNotFoundError, LettaUserNotFoundError
from letta.log import get_logger
from letta.orm.errors import DatabaseTimeoutError, ForeignKeyConstraintViolationError, NoResultFound, UniqueConstraintViolationError
from letta.schemas.letta_response import LettaResponse
from letta.server.constants import REST_DEFAULT_PORT
# NOTE(charles): these are extra routes that are not part of v1 but we still need to mount to pass tests

View File

@@ -294,7 +294,7 @@ class AgentManager:
with self.session_maker() as session:
# Retrieve the agent
agent = AgentModel.read(db_session=session, identifier=agent_id, actor=actor)
agent_state = agent.to_pydantic()
agent.to_pydantic()
agent.hard_delete(session)
# ======================================================================================================================