chore: sync 0.12.0 version (#3023)

Co-authored-by: Matthew Zhou <mattzh1314@gmail.com>
Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com>
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
This commit is contained in:
cthomas
2025-10-08 16:10:51 -07:00
committed by GitHub
parent a5354d7534
commit 9cb5156ac7
22 changed files with 985 additions and 117 deletions

View File

@@ -28,7 +28,6 @@ jobs:
install-args: '--extra postgres --extra external-tools --extra dev --extra cloud-tool-sandbox --extra sqlite'
timeout-minutes: 15
ref: ${{ github.event.pull_request.head.sha || github.sha }}
matrix-strategy: |
{
"fail-fast": false,

View File

@@ -10,6 +10,29 @@ jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
env:
# Database configuration - these will be used by dev-compose.yaml
LETTA_PG_DB: letta
LETTA_PG_USER: letta
LETTA_PG_PASSWORD: letta
LETTA_PG_HOST: pgvector_db # Internal Docker service name
LETTA_PG_PORT: 5432
# Server configuration for tests
LETTA_SERVER_PASS: test_server_token
LETTA_SERVER_URL: http://localhost:8283
# API keys
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
# Additional API keys that dev-compose.yaml expects (optional)
GROQ_API_KEY: ""
ANTHROPIC_API_KEY: ""
OLLAMA_BASE_URL: ""
AZURE_API_KEY: ""
AZURE_BASE_URL: ""
AZURE_API_VERSION: ""
GEMINI_API_KEY: ""
VLLM_API_BASE: ""
OPENLLM_AUTH_TYPE: ""
OPENLLM_API_KEY: ""
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -32,14 +55,8 @@ jobs:
chmod -R 755 /home/runner/.letta/logs
- name: Build and run docker dev server
env:
LETTA_PG_DB: letta
LETTA_PG_USER: letta
LETTA_PG_PASSWORD: letta
LETTA_PG_PORT: 8888
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
# dev-compose.yaml will use the environment variables we set above
docker compose -f dev-compose.yaml up --build -d
- name: Wait for service
@@ -47,13 +64,6 @@ jobs:
- name: Run tests with pytest
env:
LETTA_PG_DB: letta
LETTA_PG_USER: letta
LETTA_PG_PASSWORD: letta
LETTA_PG_PORT: 8888
LETTA_SERVER_PASS: test_server_token
LETTA_SERVER_URL: http://localhost:8283
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
PYTHONPATH: ${{ github.workspace }}:${{ env.PYTHONPATH }}
run: |
uv sync --extra dev --extra postgres --extra sqlite