also skip modelByChannel in plugin-auto-enable channel iteration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
pickaxe
2026-02-22 01:17:04 -08:00
committed by Peter Steinberger
parent 0d93c9f759
commit d79f10297f

View File

@@ -319,7 +319,7 @@ function resolveConfiguredPlugins(
const configuredChannels = cfg.channels as Record<string, unknown> | undefined;
if (configuredChannels && typeof configuredChannels === "object") {
for (const key of Object.keys(configuredChannels)) {
if (key === "defaults") {
if (key === "defaults" || key === "modelByChannel") {
continue;
}
channelIds.add(key);