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

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