chore: temporary disable web response
This commit is contained in:
parent
92a52dfa08
commit
1799bfed3f
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user