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.

fix: deprecate local embedding tests (#1789)

Sarah Woodersa8a44436ab06
diff --git a/.github/workflows/test_local.yml b/.github/workflows/test_local.yml
deleted file mode 100644
index 2232938e9..000000000
--- a/.github/workflows/test_local.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-name: Endpoint (Local)
-
-on:
- push:
- branches: [ main ]
- pull_request:
- branches: [ main ]
-
-jobs:
- test:
- runs-on: ubuntu-latest
- timeout-minutes: 15
- 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 -E local"
-
- - name: Test embedding endpoint
- env:
- OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
- run: |
- poetry run pytest -s -vv tests/test_endpoints.py::test_embedding_endpoint_local
diff --git a/tests/test_client.py b/tests/test_client.py
index fbe770e42..ba20d984a 100644
--- a/tests/test_client.py
+++ b/tests/test_client.py
@@ -350,7 +350,7 @@ def test_sources(client: Union[LocalClient, RESTClient], agent: AgentState):
assert len(active_jobs) == 1
# wait for job to finish (with timeout)
- timeout = 60
+ timeout = 120
start_time = time.time()
while True:
status = client.get_job(upload_job.id).status