ollama/main.go
Blake Mizerany e7254617e3 .........
2024-08-14 01:22:23 -07:00

21 lines
277 B
Go

package main
import (
"context"
"github.com/spf13/cobra"
"github.com/ollama/ollama/cmd"
"net/http"
_ "net/http/pprof"
)
func main() {
go func() {
http.ListenAndServe("localhost:6060", nil)
}()
cobra.CheckErr(cmd.NewCLI().ExecuteContext(context.Background()))
}