We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fb2b698 + a64c8f4 commit 1f8fa5eCopy full SHA for 1f8fa5e
pilot/main.py
@@ -54,9 +54,9 @@ def init():
54
builtins.print, ipc_client_instance = get_custom_print(args)
55
56
if '--api-key' in args:
57
- os.environ["OPENAI_API_KEY"] = os.getenv('OPENAI_API_KEY') or args['--api-key']
+ os.environ["OPENAI_API_KEY"] = args['--api-key']
58
if '--api-endpoint' in args:
59
- os.environ["OPENAI_ENDPOINT"] = os.getenv('OPENAI_ENDPOINT') or args['--api-endpoint']
+ os.environ["OPENAI_ENDPOINT"] = args['--api-endpoint']
60
61
if '--get-created-apps-with-steps' in args:
62
run_exit_fn = False
0 commit comments