chore: temporary disable web response

This commit is contained in:
Louis 2025-06-10 17:46:37 +07:00
parent 92a52dfa08
commit 1799bfed3f
No known key found for this signature in database
GPG Key ID: 44FA9F4D33C37DE2

View File

@ -105,13 +105,13 @@ const ContentItemRenderer = ({
)
}
if (item.type === 'text' && item.text) {
return (
<div key={index} className="mt-3">
<RenderMarkdown content={item.text} />
</div>
)
}
// if (item.type === 'text' && item.text) {
// return (
// <div key={index} className="mt-3">
// <RenderMarkdown content={item.text} />
// </div>
// )
// }
// For any other types, render as JSON
return (
@ -215,7 +215,10 @@ const ToolCallBlock = ({ id, name, result, loading }: Props) => {
</div>
{/* Image Modal */}
<Dialog open={!!modalImage} onOpenChange={(open) => !open && closeModal()}>
<Dialog
open={!!modalImage}
onOpenChange={(open) => !open && closeModal()}
>
<DialogContent className="max-w-4xl max-h-[90vh] p-0">
<DialogHeader className="p-6 pb-2">
<DialogTitle>{modalImage?.alt || 'Image'}</DialogTitle>