返回 DeepSeek-Reasonix
builtin_provider.go
根目录 / internal / config / builtin_provider.go
1 package config
2
3 // BuiltinProviderEntry returns the built-in provider with name. Remote
4 // bootstrap materializes it before adding a custom provider because an
5 // explicit providers table replaces the built-in set.
6 func BuiltinProviderEntry(name string) (ProviderEntry, bool) {
7 for _, provider := range Default().Providers {
8 if provider.Name == name {
9 return provider, true
10 }
11 }
12 return ProviderEntry{}, false
13 }
14
14 lines GO