LocalAI/internal/version.go

11 lines
149 B
Go
Raw Normal View History

package internal
import "fmt"
var Version = ""
var Commit = ""
func PrintableVersion() string {
return fmt.Sprintf("%s (%s)", Version, Commit)
}