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