feat: various fixes (#2320)
Co-authored-by: Shubham Naik <shub@memgpt.ai> Co-authored-by: Matt Zhou <mattzh1314@gmail.com> Co-authored-by: Shubham Naik <shubham.naik10@gmail.com> Co-authored-by: Caren Thomas <caren@letta.com> Co-authored-by: cpacker <packercharles@gmail.com>
This commit is contained in:
42
.github/workflows/letta-web-openapi-saftey.yml
vendored
42
.github/workflows/letta-web-openapi-saftey.yml
vendored
@@ -1,42 +0,0 @@
|
||||
name: "Letta Web OpenAPI Compatibility Checker"
|
||||
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
|
||||
jobs:
|
||||
validate-openapi:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: "Setup Python, Poetry and Dependencies"
|
||||
uses: packetcoders/action-setup-cache-python-poetry@main
|
||||
with:
|
||||
python-version: "3.12"
|
||||
poetry-version: "1.8.2"
|
||||
install-args: "-E dev"
|
||||
- name: Checkout letta web
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: letta-ai/letta-web
|
||||
token: ${{ secrets.PULLER_TOKEN }}
|
||||
path: letta-web
|
||||
- name: Run OpenAPI schema generation
|
||||
run: |
|
||||
bash ./letta/server/generate_openapi_schema.sh
|
||||
- name: Setup letta-web
|
||||
working-directory: letta-web
|
||||
run: npm ci
|
||||
- name: Copy OpenAPI schema
|
||||
working-directory: .
|
||||
run: cp openapi_letta.json letta-web/libs/letta-agents-api/letta-agents-openapi.json
|
||||
- name: Validate OpenAPI schema
|
||||
working-directory: letta-web
|
||||
run: |
|
||||
npm run agents-api:generate
|
||||
npm run type-check
|
||||
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -6,6 +6,8 @@ env:
|
||||
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
|
||||
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}
|
||||
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
|
||||
E2B_SANDBOX_TEMPLATE_ID: ${{ secrets.E2B_SANDBOX_TEMPLATE_ID }}
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -61,7 +63,7 @@ jobs:
|
||||
with:
|
||||
python-version: "3.12"
|
||||
poetry-version: "1.8.2"
|
||||
install-args: "-E dev -E postgres -E external-tools -E tests"
|
||||
install-args: "-E dev -E postgres -E external-tools -E tests -E cloud-tool-sandbox"
|
||||
- name: Migrate database
|
||||
env:
|
||||
LETTA_PG_PORT: 5432
|
||||
|
||||
Reference in New Issue
Block a user