vision-agent / lib /types.ts
MingruiZhang's picture
feat: revalidate path / remove create chat api (use server action) / code block style (#53)
71679ee unverified
raw
history blame
No virus
251 Bytes
import { type Message } from 'ai';
export type MessageBase = {
role: Message['role'];
content: string;
id: string;
};
export interface SignedPayload {
id: string;
publicUrl: string;
signedUrl: string;
fields: Record<string, string>;
}