LocalAI/internal/version.go

11 lines
157 B
Go
Raw Normal View History

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