Skip to content

Commit

Permalink
fixed config variables
Browse files Browse the repository at this point in the history
  • Loading branch information
slowsynapse committed Sep 12, 2024
1 parent d22d36d commit 8269e9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const defaults = {
youtube_videoid: '',
animation_url: process.env.NEXT_PUBLIC_ANIMATION_URL ?? '/animations/idle_loop.vrma',
voice_url: process.env.NEXT_PUBLIC_VOICE_URL ?? '',
chatbot_backend: process.env.NEXT_PUBLIC_CHATBOT_BACKEND 'openai',
chatbot_backend: process.env.NEXT_PUBLIC_CHATBOT_BACKEND ?? 'openai',
openai_apikey: process.env.NEXT_PUBLIC_OPENAI_APIKEY ?? 'default',
openai_url: process.env.NEXT_PUBLIC_OPENAI_URL ?? 'https://i-love-amica.com',
openai_model: process.env.NEXT_PUBLIC_OPENAI_MODEL ?? 'mlabonne/NeuralDaredevil-8B-abliterated,
Expand All @@ -27,7 +27,7 @@ const defaults = {
koboldai_use_extra: process.env.NEXT_PUBLIC_KOBOLDAI_USE_EXTRA ?? 'false',
koboldai_stop_sequence: process.env.NEXT_PUBLIC_KOBOLDAI_STOP_SEQUENCE ?? '(End)||[END]||Note||***||You:||User:||</s>',
tts_muted: 'false',
tts_backend: process.env.NEXT_PUBLIC_TTS_BACKEND 'piper',
tts_backend: process.env.NEXT_PUBLIC_TTS_BACKEND ?? 'piper',
stt_backend: process.env.NEXT_PUBLIC_STT_BACKEND ?? 'whisper_browser',
vision_backend: process.env.NEXT_PUBLIC_VISION_BACKEND ?? 'none',
vision_system_prompt: process.env.NEXT_PUBLIC_VISION_SYSTEM_PROMPT ?? `You are a friendly human named Amica. Describe the image in detail. Let's start the conversation.`,
Expand Down

0 comments on commit 8269e9f

Please sign in to comment.