mirror of https://github.com/openclaw/openclaw.git
fix(sessions-spawn): remove maxLength from attachment content schema to fix llama.cpp GBNF grammar overflow
This commit is contained in:
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()),
|
||||
}),
|
||||
|
|
|
|||
Loading…
Reference in New Issue