File size: 319 Bytes
4e23b01 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | import { z } from 'zod';
import { timelineMessageBase } from './base';
export const thinkingDeltaMessageSchema = z.object({
type: z.literal('thinking.delta'),
...timelineMessageBase,
message_id: z.string().min(1),
text: z.string(),
});
export type ThinkingDelta = z.infer<typeof thinkingDeltaMessageSchema>;
|