Skip to content

Commit 66a9078

Browse files
authored
Merge pull request #74 from MirageML/aman/paying
fix openai key set
2 parents 6e3d582 + 303bb0a commit 66a9078

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

mirageml/commands/config.py

+4
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ def set_config():
5959
value = input(question)
6060
if value == "":
6161
break
62+
if key == "openai_key":
63+
config[key] = value
64+
save_config(config)
65+
break
6266
if value not in [x.split()[0] for x in valid[key][0]]:
6367
options = f"{[x.split()[0] for x in valid[key][0]]}" if valid[key][0] else ""
6468
typer.secho(
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Copyright Mirage ML 2023
2-
build_number = 5
2+
build_number = 6

0 commit comments

Comments
 (0)