fix(sessions-spawn): remove maxLength from attachment content schema to fix llama.cpp GBNF grammar overflow
This commit is contained in:
committed by
Ayaan Zaidi
parent
8a7d1aa973
commit
965ce31d84
@@ -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()),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user