1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-09-09 17:29:54 +00:00

better logger

This commit is contained in:
2025-08-29 22:55:41 +02:00
parent 3d629c93c5
commit c7c3bff2d8
8 changed files with 36 additions and 41 deletions

View File

@@ -23,7 +23,7 @@ type Model struct {
var ModelMap = make(map[string]*Model)
func LoadModels() ([]*Model, error) {
log.Info("Loading models...")
log.Println("Loading models...")
client := OpenRouterClient()
@@ -58,7 +58,7 @@ func LoadModels() ([]*Model, error) {
ModelMap[model.ID] = m
}
log.Infof("Loaded %d models\n", len(models))
log.Printf("Loaded %d models\n", len(models))
return models, nil
}