fix(webchat): support image-only sends

This commit is contained in:
Peter Steinberger
2026-01-26 05:32:29 +00:00
parent 9ba4b1e32b
commit 6859e1e6a6
11 changed files with 93 additions and 27 deletions

View File

@@ -35,7 +35,7 @@ export const ChatHistoryParamsSchema = Type.Object(
export const ChatSendParamsSchema = Type.Object(
{
sessionKey: NonEmptyString,
message: NonEmptyString,
message: Type.String(),
thinking: Type.Optional(Type.String()),
deliver: Type.Optional(Type.Boolean()),
attachments: Type.Optional(Type.Array(Type.Unknown())),