Input

type Input = {
account?: Account;
client: ThirdwebClient;
contextFilter?: {
chains?: Array<Chain>;
contractAddresses?: Array<string>;
walletAddresses?: Array<string>;
};
sessionId?: string;
} & (
| {
messages: Array<{
content: string;
role: "user" | "assistant";
}>;
}
| { message: string }
);