mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-29 13:46:18 +01:00
🌊 feat: refine SDK usage logic in STT and TTS services, improve header handling
This commit is contained in:
parent
b7f4903acd
commit
ffa5f6f09b
7 changed files with 14 additions and 19 deletions
|
|
@ -79,7 +79,7 @@ export default function HoverButtons({
|
|||
messageId={message.messageId}
|
||||
content={message.content ?? message.text}
|
||||
isLast={isLast}
|
||||
className="hover-button rounded-md p-1 pl-0 text-gray-500 hover:bg-gray-100 hover:text-gray-500 dark:text-gray-400/70 dark:hover:bg-gray-700 dark:hover:text-gray-200 disabled:dark:hover:text-gray-400 md:group-hover:visible md:group-[.final-completion]:visible"
|
||||
className="hover-button rounded-md p-1 hover:bg-gray-100 hover:text-gray-500 focus:opacity-100 dark:text-gray-400/70 dark:hover:bg-gray-700 dark:hover:text-gray-200 disabled:dark:hover:text-gray-400 md:group-hover:visible md:group-[.final-completion]:visible"
|
||||
/>
|
||||
)}
|
||||
{isEditableEndpoint && (
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
// client/src/components/Chat/Messages/MessageAudio.tsx
|
||||
import { memo } from 'react';
|
||||
import { useRecoilValue } from 'recoil';
|
||||
import type { TMessageAudio } from '~/common';
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
// client/src/hooks/Audio/useTTSBrowser.ts
|
||||
import { useRef, useEffect, useState } from 'react';
|
||||
import { useRecoilState, useRecoilValue } from 'recoil';
|
||||
import { parseTextParts } from 'librechat-data-provider';
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
// client/src/hooks/Audio/useTTSEdge.ts
|
||||
import { useRef, useEffect, useState } from 'react';
|
||||
import { useRecoilState, useRecoilValue } from 'recoil';
|
||||
import { parseTextParts } from 'librechat-data-provider';
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
// client/src/hooks/Audio/useTTSExternal.ts
|
||||
import { useRef, useEffect, useState } from 'react';
|
||||
import { useRecoilState, useRecoilValue } from 'recoil';
|
||||
import { parseTextParts } from 'librechat-data-provider';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue