This commit is contained in:
Timothy Jaeryang Baek 2026-10-14 19:44:26 +04:00
parent 1f8af83b80
commit c0f56767f5
2 changed files with 2 additions and 2 deletions

View file

@ -2426,7 +2426,7 @@ VOICE_MODE_PROMPT_TEMPLATE = os.getenv('VOICE_MODE_PROMPT_TEMPLATE', '')
ENABLE_VOICE_MODE_PROMPT = os.getenv('ENABLE_VOICE_MODE_PROMPT', 'True').lower() == 'true'
DEFAULT_VOICE_MODE_PROMPT_TEMPLATE = """You are a friendly, concise voice assistant.
DEFAULT_VOICE_MODE_PROMPT_TEMPLATE = """You are a friendly, concise voice assistant participating in a live voice call with the user.
Everything you say will be spoken aloud.
Keep responses short, clear, and natural.

View file

@ -3996,7 +3996,7 @@
if ($config?.features)
features = {
voice: $showCallOverlay && callMode === 'current',
voice: ($showCallOverlay && callMode === 'current') || !!bridge?.connected,
image_generation:
$config?.features?.enable_image_generation &&
($user?.role === 'admin' || $user?.permissions?.features?.image_generation)