Open Interpreter compatible `--profiles`
This commit is contained in:
parent
fda23e95b2
commit
d13c0cf3a4
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue