Fix types, replace preact with react

This commit is contained in:
2024-12-22 23:04:36 +08:00
parent c6fbe5c031
commit 926f3bea5c
11 changed files with 684 additions and 58 deletions

View File

@@ -39,7 +39,8 @@ export function MessageToolCall({ chat, copyToClipboard }: Props) {
</p>
</div>
))}
{chat.content}
{/* [TODO] */}
{chat.content as string}
</div>
);
}