fix: stabilize gateway config tests + tool schema

This commit is contained in:
Peter Steinberger
2026-01-15 05:11:54 +00:00
parent 4fb114dcb3
commit 757243993c
7 changed files with 43 additions and 26 deletions

View File

@@ -59,7 +59,7 @@ export async function resolveMessageChannelSelection(params: {
const normalized = normalizeMessageChannel(params.channel);
if (normalized) {
if (!isKnownChannel(normalized)) {
throw new Error(`Unknown channel: ${normalized}`);
throw new Error(`Unknown channel: ${String(normalized)}`);
}
return {
channel: normalized as MessageChannelId,