Skip to content

Config reload should refresh wake word verifier plugins #196

@coderabbitai

Description

@coderabbitai

Description

Currently, wake word verifier plugins are instantiated only once during service startup. When configuration changes are detected and reload_configuration() is called, the verifier list is not refreshed. This means that changes to listener.ww_verifiers settings (enabling/disabling plugins, adjusting thresholds, etc.) do not take effect until the entire service is restarted.

Expected Behavior

Configuration reloads should re-instantiate the verifier plugins based on the updated config and update self.hotwords.verifiers so that changes take effect immediately.

Suggested Solution

Extract the verifier plugin loading logic into a helper method that can be called both during initial startup and within the reload_configuration() path.

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions