feat: update providers (#881)

This commit is contained in:
Jeremy 2025-03-20 14:10:45 -07:00 committed by GitHub
parent 9058240e10
commit 7811c0f7fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 122 additions and 108 deletions

View file

@ -2,15 +2,12 @@
import { motion } from 'framer-motion';
import { Button } from './ui/button';
import { ChatRequestOptions, CreateMessage, Message } from 'ai';
import { memo } from 'react';
import { UseChatHelpers } from '@ai-sdk/react';
interface SuggestedActionsProps {
chatId: string;
append: (
message: Message | CreateMessage,
chatRequestOptions?: ChatRequestOptions,
) => Promise<string | null | undefined>;
append: UseChatHelpers['append'];
}
function PureSuggestedActions({ chatId, append }: SuggestedActionsProps) {