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 }