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)
| 439 | // - clients: The new slice of AI service clients |
| 440 | // - cfg: The new application configuration |
| 441 | func (h *BaseAPIHandler) UpdateClients(cfg *config.SDKConfig) { h.Cfg = cfg } |
| 442 | |
| 443 | // SetPluginHost configures the optional plugin interceptor host. |
| 444 | func (h *BaseAPIHandler) SetPluginHost(host PluginInterceptorHost) { |
no outgoing calls
no test coverage detected