Skip to content

Commit

Permalink
remove redundant filename parameter (ollama#1213)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorganca authored Nov 20, 2023
1 parent 0b7ade0 commit df07e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func CreateHandler(cmd *cobra.Command, args []string) error {
return nil
}

request := api.CreateRequest{Name: args[0], Path: filename, Modelfile: string(modelfile)}
request := api.CreateRequest{Name: args[0], Modelfile: string(modelfile)}
if err := client.Create(context.Background(), &request, fn); err != nil {
return err
}
Expand Down

0 comments on commit df07e4a

Please sign in to comment.