refac
This commit is contained in:
1 parent
41107a34ca
commit
1789303886
5 files changed
+17
-13
No files matched your search
@@ -2080,6 +2080,12 @@ VOICE_MODE_PROMPT_TEMPLATE = PersistentConfig(
|
||||
os.environ.get('VOICE_MODE_PROMPT_TEMPLATE', ''),
|
||||
)
|
||||
|
||||
ENABLE_VOICE_MODE_PROMPT = PersistentConfig(
|
||||
'ENABLE_VOICE_MODE_PROMPT',
|
||||
'task.voice.prompt.enable',
|
||||
os.environ.get('ENABLE_VOICE_MODE_PROMPT', 'True').lower() == 'true',
|
||||
)
|
||||
|
||||
DEFAULT_VOICE_MODE_PROMPT_TEMPLATE = """You are a friendly, concise voice assistant.
|
||||
|
||||
Everything you say will be spoken aloud.
|
||||
|
||||
Reference in new issue
Block a user