kimi-code / packages /kap-server /src /protocol /messages /thinking-delta.ts
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
4e23b01 verified
Raw History Blame Contribute Delete
319 Bytes
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>;