fix(sessions-spawn): remove maxLength from attachment content schema to fix llama.cpp GBNF grammar overflow

This commit is contained in:
Isis Anisoptera
2026-03-03 15:46:26 -08:00
committed by Ayaan Zaidi
parent 8a7d1aa973
commit 965ce31d84

View File

@@ -41,7 +41,7 @@ const SessionsSpawnToolSchema = Type.Object({
Type.Array(
Type.Object({
name: Type.String(),
content: Type.String({ maxLength: 6_700_000 }),
content: Type.String(),
encoding: Type.Optional(optionalStringEnum(["utf8", "base64"] as const)),
mimeType: Type.Optional(Type.String()),
}),