mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 07:46:59 +00:00
move prompt templates out of python bindings
This commit is contained in:
@@ -59,7 +59,7 @@ func NewCLI() *cobra.Command {
|
||||
|
||||
rootCmd := &cobra.Command{
|
||||
Use: "ollama",
|
||||
Short: "Run any large language model on any machine.",
|
||||
Short: "Large language model runner",
|
||||
CompletionOptions: cobra.CompletionOptions{
|
||||
DisableDefaultCmd: true,
|
||||
},
|
||||
@@ -88,14 +88,13 @@ func NewCLI() *cobra.Command {
|
||||
},
|
||||
}
|
||||
|
||||
/*
|
||||
runCmd := &cobra.Command{
|
||||
Use: "run",
|
||||
Short: "Run a model and submit prompts.",
|
||||
RunE: func(cmd *cobra.Command. args []string) error {
|
||||
RunE: func(cmd *cobra.Command,args []string) error {
|
||||
return nil
|
||||
},
|
||||
}
|
||||
*/
|
||||
|
||||
serveCmd := &cobra.Command{
|
||||
Use: "serve",
|
||||
@@ -132,6 +131,7 @@ func NewCLI() *cobra.Command {
|
||||
rootCmd.AddCommand(
|
||||
modelsCmd,
|
||||
serveCmd,
|
||||
runCmd,
|
||||
)
|
||||
|
||||
return rootCmd
|
||||
|
||||
Reference in New Issue
Block a user