kimi-code / packages /kap-server /src /protocol /messages /config-warning.ts
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
4e23b01 verified
Raw History Blame Contribute Delete
346 Bytes
import { z } from 'zod';
import { globalMessageBase } from './base';
export const configWarningMessageSchema = z.object({
type: z.literal('config.warning'),
...globalMessageBase,
warnings: z.array(z.string()),
});
export type ConfigWarning = z.infer<typeof configWarningMessageSchema>;
export type ConfigWarningMessage = ConfigWarning;