remove redundant filename parameter (#1213)

This commit is contained in:
Jeffrey Morgan 2023-11-20 17:05:36 -05:00 committed by GitHub
parent 0b7ade0d4c
commit df07e4a097
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}