1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-12-02 20:22:52 +00:00

fixes and dynamic prompts

This commit is contained in:
Laura
2025-08-18 04:46:17 +02:00
parent e0fdaa6cdf
commit b28c1987b0
14 changed files with 165 additions and 42 deletions

View File

@@ -18,8 +18,6 @@ var log = logger.New().DetectTerminal().WithOptions(logger.Options{
})
func main() {
log.Info("Loading models...")
models, err := LoadModels()
log.MustPanic(err)
@@ -38,6 +36,7 @@ func main() {
"authenticated": IsAuthenticated(r),
"search": env.Tokens.Exa != "",
"models": models,
"prompts": Prompts,
"version": Version,
})
})