chore: remove universal chat code (#2194)

This commit is contained in:
Joel 2024-01-25 11:47:35 +08:00 • committed by GitHub
commit bec998ab94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 10 additions and 1720 deletions

View file

@ -33,7 +33,7 @@ const AudioBtn = ({
if (value !== '') {
formData.append('text', removeCodeBlocks(value))
let url = '/universal-chat/text-to-audio'
let url = ''
let isPublic = false
if (params.token) {

View file

@ -86,7 +86,7 @@ const VoiceInput = ({
const formData = new FormData()
formData.append('file', mp3File)
let url = '/universal-chat/audio-to-text'
let url = ''
let isPublic = false
if (params.token) {