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

Method UpdateClients

sdk/api/handlers/handlers.go:441–441  ·  view source on GitHub ↗

UpdateClients updates the handlers' client list and configuration. This method is called when the configuration or authentication tokens change. Parameters: - clients: The new slice of AI service clients - cfg: The new application configuration

(cfg *config.SDKConfig)

Source from the content-addressed store, hash-verified

439// - clients: The new slice of AI service clients
440// - cfg: The new application configuration
441func (h *BaseAPIHandler) UpdateClients(cfg *config.SDKConfig) { h.Cfg = cfg }
442
443// SetPluginHost configures the optional plugin interceptor host.
444func (h *BaseAPIHandler) SetPluginHost(host PluginInterceptorHost) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected