fix: thinking block (#5263)
This commit is contained in:
parent
2b8c448be4
commit
e04dfc73c7
@ -184,7 +184,7 @@ export const ThreadContent = memo(
|
|||||||
| undefined
|
| undefined
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Fragment key={item.id}>
|
<Fragment>
|
||||||
{item.content?.[0]?.text && item.role === 'user' && (
|
{item.content?.[0]?.text && item.role === 'user' && (
|
||||||
<div className="w-full">
|
<div className="w-full">
|
||||||
<div className="flex justify-end w-full h-full text-start break-words whitespace-normal">
|
<div className="flex justify-end w-full h-full text-start break-words whitespace-normal">
|
||||||
|
|||||||
@ -236,7 +236,8 @@ function Hub() {
|
|||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
'flex items-center gap-2 w-20 ',
|
'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} />
|
<Progress value={downloadProgress * 100} />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user