feat: increase loaded_skills block limit to 100k characters (#335)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2025-12-21 18:39:34 -08:00
committed by GitHub
parent 14dc07f3da
commit 2fbfe1d4ca
2 changed files with 8 additions and 0 deletions

View File

@@ -104,6 +104,13 @@ async function loadMemoryBlocksFromMdx(): Promise<CreateBlock[]> {
block.description = frontmatter.description;
}
if (frontmatter.limit) {
const limit = parseInt(frontmatter.limit, 10);
if (!Number.isNaN(limit) && limit > 0) {
block.limit = limit;
}
}
// Set read-only for skills blocks (managed by Skill tool, not memory tools)
if ((READ_ONLY_BLOCK_LABELS as readonly string[]).includes(label)) {
block.read_only = true;

View File

@@ -1,6 +1,7 @@
---
label: loaded_skills
description: A memory block to store the full instructions and capabilities from each loaded SKILL.md file in this block. Do not manually edit this block - use the Skill tool to load and unload skills.
limit: 100000
---
[CURRENTLY EMPTY]