Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

add index

Carlod33a1619e9b7
diff --git a/memgpt/agent_store/db.py b/memgpt/agent_store/db.py
index 75f3b6d39..5e56d415c 100644
--- a/memgpt/agent_store/db.py
+++ b/memgpt/agent_store/db.py
@@ -12,6 +12,7 @@ from sqlalchemy import (
JSON,
Column,
DateTime,
+ Index,
String,
TypeDecorator,
and_,
@@ -21,7 +22,6 @@ from sqlalchemy import (
or_,
select,
text,
- Index,
)
from sqlalchemy.dialects.postgresql import UUID
from sqlalchemy.orm import declarative_base, mapped_column, sessionmaker
diff --git a/memgpt/metadata.py b/memgpt/metadata.py
index 2f37fae00..935cf4f25 100644
--- a/memgpt/metadata.py
+++ b/memgpt/metadata.py
@@ -13,12 +13,12 @@ from sqlalchemy import (
Boolean,
Column,
DateTime,
+ Index,
String,
TypeDecorator,
create_engine,
desc,
func,
- Index,
)
from sqlalchemy.dialects.postgresql import UUID
from sqlalchemy.exc import InterfaceError, OperationalError