Skip to content

Commit dd77d9e

Browse files
Chin Jia XiongChin Jia Xiong
authored andcommitted
Fix prompt
1 parent 9ee480b commit dd77d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/components/CharacterRoom/CharacterRoom.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export const CharacterRoom: React.FC<PropsWithChildren<Props>> = ({
270270

271271
const sendPrompt = async (rawContent: string | Blob) => {
272272
if (
273-
(configs?.ttsMode || !isLLMSupported) &&
273+
(configs?.ttsMode || (!isLLMSupported && isTTSSupported)) &&
274274
typeof rawContent === "string"
275275
) {
276276
try {

0 commit comments

Comments
 (0)