Skip to content

Commit 0ae3739

Browse files
authored
chore: bump version 0.13.0 (#3050)
2 parents 4a753c1 + 13273b4 commit 0ae3739

File tree

202 files changed

+20174
-11213
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

202 files changed

+20174
-11213
lines changed

.github/workflows/docker-integration-tests.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
timeout-minutes: 15
1313
env:
14-
# Database configuration for docker-compose
15-
# Note: LETTA_PG_HOST is intentionally NOT set here because:
16-
# - Inside containers: uses 'letta_db' (from dev-compose.yaml defaults)
17-
# - Host pytest tests: uses 'localhost' (to connect via port mapping)
14+
# Database configuration - these will be used by dev-compose.yaml
1815
LETTA_PG_DB: letta
1916
LETTA_PG_USER: letta
2017
LETTA_PG_PASSWORD: letta
18+
LETTA_PG_HOST: pgvector_db # Internal Docker service name
2119
LETTA_PG_PORT: 5432
2220
# Server configuration for tests
2321
LETTA_SERVER_PASS: test_server_token
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
"""add approvals field to messages
2+
3+
Revision ID: 066857381578
4+
Revises: c734cfc0d595
5+
Create Date: 2025-10-09 17:56:07.333221
6+
7+
"""
8+
9+
from typing import Sequence, Union
10+
11+
import sqlalchemy as sa
12+
13+
import letta.orm
14+
from alembic import op
15+
from letta.settings import settings
16+
17+
# revision identifiers, used by Alembic.
18+
revision: str = "066857381578"
19+
down_revision: Union[str, None] = "c734cfc0d595"
20+
branch_labels: Union[str, Sequence[str], None] = None
21+
depends_on: Union[str, Sequence[str], None] = None
22+
23+
24+
def upgrade() -> None:
25+
# Skip this migration for SQLite
26+
if not settings.letta_pg_uri_no_default:
27+
return
28+
29+
### commands auto generated by Alembic - please adjust! ###
30+
op.add_column("messages", sa.Column("approvals", letta.orm.custom_columns.ApprovalsColumn(), nullable=True))
31+
### end Alembic commands ###
32+
33+
34+
def downgrade() -> None:
35+
# Skip this migration for SQLite
36+
if not settings.letta_pg_uri_no_default:
37+
return
38+
39+
### commands auto generated by Alembic - please adjust! ###
40+
op.drop_column("messages", "approvals")
41+
### end Alembic commands ###
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
"""Add tools_used field to run_metrics table
2+
3+
Revision ID: 6756d04c3ddb
4+
Revises: e67961ed7c32
5+
Create Date: 2025-10-17 14:52:53.601368
6+
7+
"""
8+
9+
from typing import Sequence, Union
10+
11+
import sqlalchemy as sa
12+
13+
from alembic import op
14+
15+
# revision identifiers, used by Alembic.
16+
revision: str = "6756d04c3ddb"
17+
down_revision: Union[str, None] = "e67961ed7c32"
18+
branch_labels: Union[str, Sequence[str], None] = None
19+
depends_on: Union[str, Sequence[str], None] = None
20+
21+
22+
def upgrade() -> None:
23+
# ### commands auto generated by Alembic - please adjust! ###
24+
op.add_column("run_metrics", sa.Column("tools_used", sa.JSON(), nullable=True))
25+
# ### end Alembic commands ###
26+
27+
28+
def downgrade() -> None:
29+
# ### commands auto generated by Alembic - please adjust! ###
30+
op.drop_column("run_metrics", "tools_used")
31+
# ### end Alembic commands ###

0 commit comments

Comments
 (0)