Skip to content

Commit 26d2de0

Browse files
committed
Merge branch 'main' into bump-11-4
2 parents dc8c6d8 + 0c359e1 commit 26d2de0

File tree

15 files changed

+2377
-84
lines changed

15 files changed

+2377
-84
lines changed

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

Lines changed: 0 additions & 19 deletions
This file was deleted.

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/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
__version__ = version("letta")
66
except PackageNotFoundError:
77
# Fallback for development installations
8-
__version__ = "0.10.0"
8+
__version__ = "0.11.3"
99

1010
if os.environ.get("LETTA_VERSION"):
1111
__version__ = os.environ["LETTA_VERSION"]

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)