Open Interpreter compatible `--profiles`

This commit is contained in:
killian 2024-07-10 11:08:37 -07:00
parent fda23e95b2
commit d13c0cf3a4
1 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,10 @@ async def main(server_host, server_port, profile, debug):
# Get the interpreter from the profile
interpreter = profile_module.interpreter
if not hasattr(interpreter, 'tts'):
print("Setting TTS provider to default: openai")
interpreter.tts = "openai"
# Make it async
interpreter = AsyncInterpreter(interpreter, debug)