fix: thinking block (#5263)

This commit is contained in:
Faisal Amir 2025-06-13 15:22:55 +07:00 committed by GitHub
parent 2b8c448be4
commit e04dfc73c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -184,7 +184,7 @@ export const ThreadContent = memo(
| undefined
return (
<Fragment key={item.id}>
<Fragment>
{item.content?.[0]?.text && item.role === 'user' && (
<div className="w-full">
<div className="flex justify-end w-full h-full text-start break-words whitespace-normal">

View File

@ -236,7 +236,8 @@ function Hub() {
<div
className={cn(
'flex items-center gap-2 w-20 ',
!isDownloading && 'opacity-0 visibility-hidden w-0'
!isDownloading &&
'opacity-0 visibility-hidden w-0 pointer-events-none'
)}
>
<Progress value={downloadProgress * 100} />