Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: refactor into common uri parsing logic, fix test, and fix compose file (#5261)
Kian Jonese58c76124af6
diff --git a/.github/workflows/docker-integration-tests.yaml b/.github/workflows/docker-integration-tests.yamlindex 9a3a929cd..dd2c0c585 100644--- a/.github/workflows/docker-integration-tests.yaml+++ b/.github/workflows/docker-integration-tests.yaml@@ -11,13 +11,11 @@ jobs:runs-on: ubuntu-latesttimeout-minutes: 15env:- # Database configuration for docker-compose- # Note: LETTA_PG_HOST is intentionally NOT set here because:- # - Inside containers: uses 'letta_db' (from dev-compose.yaml defaults)- # - Host pytest tests: uses 'localhost' (to connect via port mapping)+ # Database configuration - these will be used by dev-compose.yamlLETTA_PG_DB: lettaLETTA_PG_USER: lettaLETTA_PG_PASSWORD: letta+ LETTA_PG_HOST: pgvector_db # Internal Docker service nameLETTA_PG_PORT: 5432# Server configuration for testsLETTA_SERVER_PASS: test_server_tokendiff --git a/dev-compose.yaml b/dev-compose.yamlindex e5ca0a930..81d084786 100644--- a/dev-compose.yaml+++ b/dev-compose.yaml@@ -31,9 +31,9 @@ services:- LETTA_PG_DB=${LETTA_PG_DB:-letta}- LETTA_PG_USER=${LETTA_PG_USER:-letta}- LETTA_PG_PASSWORD=${LETTA_PG_PASSWORD:-letta}- - LETTA_PG_HOST=${LETTA_PG_HOST:-letta_db}+ - LETTA_PG_HOST=${LETTA_PG_HOST:-pgvector_db}- LETTA_PG_PORT=${LETTA_PG_PORT:-5432}- - LETTA_PG_URI=postgresql://${LETTA_PG_USER:-letta}:${LETTA_PG_PASSWORD:-letta}@${LETTA_PG_HOST:-letta_db}:${LETTA_PG_PORT:-5432}/${LETTA_PG_DB:-letta}+ - LETTA_PG_URI=${LETTA_PG_URI:-postgresql://${LETTA_PG_USER:-letta}:${LETTA_PG_PASSWORD:-letta}@${LETTA_PG_HOST:-pgvector_db}:${LETTA_PG_PORT:-5432}/${LETTA_PG_DB:-letta}}- LETTA_DEBUG=True- OPENAI_API_KEY=${OPENAI_API_KEY}- GROQ_API_KEY=${GROQ_API_KEY}