2
0

🚸 (bot) Update reply if we get new format from backend

This commit is contained in:
Baptiste Arnaud
2023-08-07 15:22:05 +02:00
parent ec0a5be793
commit af1bee8756
12 changed files with 94 additions and 18 deletions

View File

@ -292,6 +292,12 @@ export const chatReplySchema = z.object({
resultId: z.string().optional(),
dynamicTheme: dynamicThemeSchema.optional(),
logs: z.array(replyLogSchema).optional(),
lastMessageNewFormat: z
.string()
.optional()
.describe(
'The sent message is validated and formatted on the backend. This is set only if the message differs from the formatted version.'
),
})
export type ChatSession = z.infer<typeof chatSessionSchema>