MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / HomeEnabled

Method HomeEnabled

sdk/cliproxy/auth/conductor.go:964–970  ·  view source on GitHub ↗

HomeEnabled reports whether the home control plane integration is enabled in the runtime config.

()

Source from the content-addressed store, hash-verified

962
963// HomeEnabled reports whether the home control plane integration is enabled in the runtime config.
964func (m *Manager) HomeEnabled() bool {
965 if m == nil {
966 return false
967 }
968 cfg, _ := m.runtimeConfig.Load().(*internalconfig.Config)
969 return cfg != nil && cfg.Home.Enabled
970}
971
972func (m *Manager) lookupAPIKeyUpstreamModel(authID, requestedModel string) string {
973 if m == nil {

Callers 9

executeMixedOnceMethod · 0.95
executeCountMixedOnceMethod · 0.95
pickNextLegacyMethod · 0.95
pickNextMethod · 0.95
pickNextMixedLegacyMethod · 0.95
pickNextMixedMethod · 0.95
publishErrorEventMethod · 0.95

Calls 1

LoadMethod · 0.65

Tested by

no test coverage detected