summaryrefslogtreecommitdiff
path: root/internal/llm/test_helpers_test.go
blob: b6553bfaf6d64b8d28a2da1d536cf738ecdb3bb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package llm

import (
	"os"
	"testing"
)

// TestMain registers all built-in providers before any test runs, mirroring
// the explicit registration that happens in production binaries.
func TestMain(m *testing.M) {
	RegisterAllProviders()
	os.Exit(m.Run())
}

func f64p(v float64) *float64 { return &v }