Files
archie/internal/app/archiegateway/curators_test.go
T

14 lines
326 B
Go

package archiegateway
import (
"log/slog"
"testing"
)
func TestCuratorsWithoutChatModel(t *testing.T) {
b := &server{log: slog.New(slog.DiscardHandler), chatModels: newChatModelManager(nil)}
if err := b.startCurators(t.Context()); err != nil {
t.Fatalf("unconfigured curators must not stop the gateway: %v", err)
}
}