mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-24 23:06:42 +00:00
643d85d2cc
Add simple vector store backend Signed-off-by: Richard Palethorpe <io@richiejp.com>
15 lines
174 B
Go
15 lines
174 B
Go
//go:build debug
|
|
// +build debug
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/rs/zerolog/log"
|
|
)
|
|
|
|
func assert(cond bool, msg string) {
|
|
if !cond {
|
|
log.Fatal().Stack().Msg(msg)
|
|
}
|
|
}
|