IOS safari whisper support (#2870)

* fix: variables check

* remove log

* perf: safari whisper

* feat: comment

* perf: connetion check

* doc
This commit is contained in:
Archer
2024-10-10 12:24:07 +08:00
committed by GitHub
parent 8273c96bbc
commit 13401294ad
5 changed files with 19 additions and 13 deletions

View File

@@ -286,7 +286,7 @@ const ChatInput = ({
/>
<Flex alignItems={'center'} position={'absolute'} right={[2, 4]} bottom={['10px', '12px']}>
{/* voice-input */}
{whisperConfig.open && !havInput && !isChatting && !!whisperModel && (
{whisperConfig.open && !inputValue && !isChatting && !!whisperModel && (
<>
<canvas
ref={canvasRef}