Skip to content

Commit 84cbe58

Browse files
committed
fix(pyperclip_client): make --model optional with default value
1 parent 1c507b6 commit 84cbe58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/pyperclip_client/pyperclip_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def call_clipboard_api_with_messages(messages, model=None):
2626
if __name__ == "__main__":
2727
parser = argparse.ArgumentParser(description="Copy prompt to clipboard for Copilot Chat workflow.")
2828
parser.add_argument("prompt", nargs="+", help="Prompt to send to Copilot Chat")
29-
parser.add_argument("--model", choices=MODEL_MAPPING.keys(), required=True, help="Model to use")
29+
parser.add_argument("--model", choices=MODEL_MAPPING.keys(), default="gpt-4.1", help="Model to use (default: gpt-4.1)")
3030
args = parser.parse_args()
3131
prompt = " ".join(args.prompt)
3232
model = MODEL_MAPPING[args.model]

0 commit comments

Comments
 (0)