allow services for anonymous users & gpt4 fix

This commit is contained in:
Cogent Apps
2023-04-29 18:29:48 +00:00
parent 5bcd75f120
commit 8f9ec46f9e
8 changed files with 33 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ import { defaultElevenLabsVoiceID, defaultVoiceList } from "./elevenlabs-default
import { backend } from "../core/backend";
function isProxySupported() {
return !!backend.current?.user?.services?.includes('elevenlabs');
return !!backend.current?.services?.includes('elevenlabs');
}
function shouldUseProxy(apiKey: string | undefined | null) {