From 8523a54f5093967711e487b96a50862e99730dc6 Mon Sep 17 00:00:00 2001 From: Bruce MacDonald Date: Thu, 29 Jun 2023 11:09:33 -0400 Subject: [PATCH] optional prompt for run command --- ollama/cmd/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ollama/cmd/cli.py b/ollama/cmd/cli.py index e3dc5d3d..2e50dc3e 100644 --- a/ollama/cmd/cli.py +++ b/ollama/cmd/cli.py @@ -33,6 +33,7 @@ def main(): pull_parser = subparsers.add_parser("run") pull_parser.add_argument("model") + pull_parser.add_argument("prompt", nargs="?") pull_parser.set_defaults(fn=run) args = parser.parse_args()