mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-18 05:59:42 +02:00
refactor(core): Skip untagged model configs by their missing kind (no-changelog)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
074a125a23
commit
4d9679b048
|
|
@ -20,7 +20,7 @@ export function withModelName(
|
|||
const provider = splitModelId(config).provider || 'custom';
|
||||
return `${provider}/${nameFor(provider)}`;
|
||||
}
|
||||
if ('specificationVersion' in config) return undefined;
|
||||
if (!('kind' in config)) return undefined;
|
||||
switch (config.kind) {
|
||||
case 'vertex-anthropic':
|
||||
return { ...config, id: `google-vertex-anthropic/${nameFor('google-vertex-anthropic')}` };
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user