fix(models): keep Anthropic fallback options with catalog

This commit is contained in:
777genius 2026-06-01 23:45:46 +03:00
parent 63e2b18450
commit 2486999e49

View file

@ -365,7 +365,6 @@ function getAnthropicFirstPartySelectorModels(
return null;
}
const catalogModelSet = new Set(catalogModels);
const seenModels = new Set<string>();
const seenLabels = new Set<string>();
const merged: string[] = [];
@ -391,9 +390,6 @@ function getAnthropicFirstPartySelectorModels(
};
for (const option of getTeamProviderModelOptions('anthropic')) {
if (option.value && !catalogModelSet.has(option.value)) {
continue;
}
appendModel(option.value, false);
}
for (const model of catalogModels) {