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

Method RefreshAPIKeyModelAlias

sdk/cliproxy/auth/conductor.go:1931–1933  ·  view source on GitHub ↗

RefreshAPIKeyModelAlias rebuilds the API-key model alias table from the current runtime config.

()

Source from the content-addressed store, hash-verified

1929
1930// RefreshAPIKeyModelAlias rebuilds the API-key model alias table from the current runtime config.
1931func (m *Manager) RefreshAPIKeyModelAlias() {
1932 m.rebuildAPIKeyModelAliasFromRuntimeConfig()
1933}
1934
1935func (m *Manager) rebuildAPIKeyModelAliasLocked(cfg *internalconfig.Config) {
1936 if m == nil {

Callers 2

handleAuthUpdatesMethod · 0.80

Tested by

no test coverage detected