feat: model provider refactor done

This commit is contained in:
Dean-YZG
2024-05-15 21:38:25 +08:00
parent 240d330001
commit a0e4a468d6
33 changed files with 3077 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ export interface MessageActionsProps {
setShowPromptModal?: (value: boolean) => void;
}
const genActionsShema = (
const genActionsSchema = (
message: RenderMessage,
{
onEdit,
@@ -272,7 +272,7 @@ export default function MessageActions(props: MessageActionsProps) {
`}
>
<ActionsBar
actionsShema={genActionsShema(message, {
actionsSchema={genActionsSchema(message, {
onCopy,
onDelete,
onPinMessage,