blob: 55d047e162e3c34f9050c9bca68f5b4c85758720 [file]
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* Pydantic model for a chat item. This is used to render the chat history.
*/
export type ChatItem = {
content: string;
type: ChatItem.type;
role: ChatItem.role;
};
export namespace ChatItem {
export enum type {
IMAGE = 'image',
TEXT = 'text',
CODE = 'code',
ERROR = 'error'
}
export enum role {
USER = 'user',
ASSISTANT = 'assistant'
}
}