Skip to content

Commit 22c1768

Browse files
committed
chore: merge main
2 parents 8a9af86 + bd0a430 commit 22c1768

File tree

15 files changed

+2860
-296
lines changed

15 files changed

+2860
-296
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
5757
PYTHONPATH: ${{ github.workspace }}:${{ env.PYTHONPATH }}
5858
run: |
59-
uv sync --extra dev --extra postgres
59+
uv sync --extra dev --extra postgres --extra sqlite
6060
uv run pytest -s tests/test_client.py
6161
6262
- name: Print docker logs if tests fail

.github/workflows/notify-letta-cloud.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Notify Submodule Repos
2+
on:
3+
push:
4+
branches: [main]
5+
workflow_dispatch:
6+
7+
jobs:
8+
notify:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Generate GitHub App Token
12+
id: app-token
13+
uses: actions/create-github-app-token@v1
14+
with:
15+
app-id: ${{ secrets.NOTIFIER_APP_ID }}
16+
private-key: ${{ secrets.NOTIFIER_PRIVATE_KEY }}
17+
repositories: letta-cloud
18+
19+
- name: Repository Dispatch
20+
uses: peter-evans/[email protected]
21+
with:
22+
token: ${{ steps.app-token.outputs.token }}
23+
repository: letta-ai/letta-cloud
24+
event-type: letta-main-updated
25+
client-payload: |
26+
{
27+
"commit_sha": "${{ github.sha }}",
28+
"ref": "${{ github.ref }}"
29+
}

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ COPY pyproject.toml uv.lock ./
3636
# Then copy the rest of the application code
3737
COPY . .
3838

39-
# TODO: strip this out into more selective dependency installation
4039
RUN uv sync --frozen --no-dev --all-extras --python 3.11
4140

4241
# Runtime stage

README.md

Lines changed: 457 additions & 214 deletions
Large diffs are not rendered by default.

examples/files/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ The demo will:
3131
3. Create an agent named "Clippy"
3232
4. Start an interactive chat session
3333

34-
Type 'quit' or 'exit' to end the conversation.
34+
Type 'quit' or 'exit' to end the conversation.

examples/files/main.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
# 1. From an existing file
6464
# 2. From a string by encoding it into a base64 string
6565
#
66-
#
6766

6867
# 1. From an existing file
6968
# "rb" means "read binary"

letta/constants.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
ADMIN_PREFIX = "/v1/admin"
1212
API_PREFIX = "/v1"
13+
OLLAMA_API_PREFIX = "/v1"
1314
OPENAI_API_PREFIX = "/openai"
1415

1516
COMPOSIO_ENTITY_ENV_VAR_KEY = "COMPOSIO_ENTITY"
@@ -51,8 +52,9 @@
5152
# Max steps for agent loop
5253
DEFAULT_MAX_STEPS = 50
5354

54-
# minimum context window size
55+
# context window size
5556
MIN_CONTEXT_WINDOW = 4096
57+
DEFAULT_CONTEXT_WINDOW = 32000
5658

5759
# number of concurrent embedding requests to sent
5860
EMBEDDING_BATCH_SIZE = 200
@@ -64,6 +66,7 @@
6466
# embeddings
6567
MAX_EMBEDDING_DIM = 4096 # maximum supported embeding size - do NOT change or else DBs will need to be reset
6668
DEFAULT_EMBEDDING_CHUNK_SIZE = 300
69+
DEFAULT_EMBEDDING_DIM = 1024
6770

6871
# tokenizers
6972
EMBEDDING_TO_TOKENIZER_MAP = {

0 commit comments

Comments
 (0)