Skip to content

Commit 4872dad

Browse files
committed
fix(create_note): allow unknown as model choice
1 parent 0f0f8b9 commit 4872dad

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

scripts/create/create_note.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,13 @@ def parse_args():
9999
parser = argparse.ArgumentParser(
100100
description="Create a note; first positional arg is the model key."
101101
)
102+
# Add 'unknown' to the available choices
103+
all_choices = sorted(list(MODEL_MAPPING.keys()) + ["unknown"])
104+
102105
parser.add_argument(
103106
"model",
104-
choices=sorted(MODEL_MAPPING.keys()),
105-
default= "grok-fast",
107+
choices=all_choices,
108+
default="unknown",
106109
help=(
107110
"Model key to annotate in frontmatter; choices shown above."
108111
),

0 commit comments

Comments
 (0)