Q18: every skill, the first included, must fit the skill budget

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-08 04:42:06 -04:00
1 parent f4d16eb46a
commit d79fd87077
2 files changed
+20 -1

No files matched your search

+1 -1
View File
@@ -284,7 +284,7 @@ export class SkillService {
readFileSync(row.object_key, "utf8").trim(),
].join("\n\n");
const partTokens = estimateTokens(part);
if (compiledParts.length > 0 && compiledTokens + partTokens > input.maxTokens) {
if (compiledTokens + partTokens > input.maxTokens) {
omitted.push(manifest.name);
continue;
}